how to calculate EMI of the loan

how to calculate EMI of the loan

package carloanapp;

import java.io.FileWriter;
import java.io.IOException;

public class CarLoan { Customer gObjCustomer = null; double gDbRequestedLoanAmount = 0; double gDbInterestRate = 0; String gStrLoanRiskLevel = null; String CalculateRiskLevel(Customer lObjCustomer, int lIntTenure, Double lDbAmountRequested){ double lDbEMI; double lDbSalary; double lDbTotalLoanAmount; String lStrRiskLevel = null; lDbSalary = lObjCustomer.getgDbAnnualIncome() / 12; lDbTotalLoanAmount = lObjCustomer.getgDbTotalExistingLoanAmount() + lDbAmountRequested; lDbEMI = lDbTotalLoanAmount / ( lIntTenure * 12 ); if(lObjCustomer.getgStrCreditLevel().equals("good")){ if(lDbEMI <= lDbSalary * 40 / 100){ lStrRiskLevel = "low"; }else if(lDbSalary * 40 / 100 < lDbEMI && lDbEMI <= lDbSalary * 80 / 100){ lStrRiskLevel = "medium"; }else{ lStrRiskLevel = "high"; } }else if(lObjCustomer.getgStrCreditLevel().equals("normal")){ if(lDbEMI <= lDbSalary * 30 / 100){ lStrRiskLevel = "low"; }else if(lDbSalary * 30 / 100 < lDbEMI && lDbEMI <= lDbSalary * 70 / 100){ lStrRiskLevel = "medium"; }else{ lStrRiskLevel = "high"; } }else if(lObjCustomer.getgStrCreditLevel().equals("bad")){ if(lDbEMI <= lDbSalary * 20 / 100){ lStrRiskLevel = "low"; }else if(lDbSalary * 20 / 100 < lDbEMI && lDbEMI <= lDbSalary * 60 / 100){ lStrRiskLevel = "medium"; }else{ lStrRiskLevel = "high"; } } return lStrRiskLevel; } double CalculateInterest(String lStrCreditLevel, String lStrRiskLevel){ double lDbInterestRate=0; if (lStrCreditLevel.equals("good") && lStrRiskLevel.equals("high")){ lDbInterestRate=11; } else if(lStrCreditLevel.equals("good") && lStrRiskLevel.equals("medium")){ lDbInterestRate=10; } else if(lStrCreditLevel.equals("good") && lStrRiskLevel.equals("low")){ lDbInterestRate=9; } else if(lStrCreditLevel.equals("normal") && lStrRiskLevel.equals("high")){ lDbInterestRate=12; } else if(lStrCreditLevel.equals("normal") && lStrRiskLevel.equals("medium")){ lDbInterestRate=11; } else if(lStrCreditLevel.equals("normal") && lStrRiskLevel.equals("low")){ lDbInterestRate=10; } else if(lStrCreditLevel.equals("bad") && lStrRiskLevel.equals("high")){ lDbInterestRate=13; } else if(lStrCreditLevel.equals("bad") && lStrRiskLevel.equals("medium")){ lDbInterestRate=12; }else if(lStrCreditLevel.equals("bad") && lStrRiskLevel.equals("low")){ lDbInterestRate=11; } return lDbInterestRate; } void updateCustomerRecord(Customer lObjCustomer,double lDbRequestedLoan){ try{ String filename= "Customers.txt"; FileWriter fw = new FileWriter(filename,true); //the true will append the new data fw.write("\r\n"+lObjCustomer.getgIntCustomerId()+","+lObjCustomer.getgStrCustomerName()+","+lObjCustomer.getgStrCreditLevel()+","+lDbRequestedLoan);//appends the string to the file fw.close(); } catch(IOException ioe) { System.err.println("IOException: " + ioe.getMessage()); } } boolean isAccepted(String lStrLoanRisk){ boolean lBooLoanAccepted=true; if(lStrLoanRisk.equals("high")){ lBooLoanAccepted=false; } return lBooLoanAccepted; } }

package carloanapp;
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.Scanner;

public class CarLoanApp { public static void main(String args[]){ double lDbLoanAmountRequested = 0; int lIntTenure = 0; CarLoan lObjCarLoan=new CarLoan(); Scanner in = new Scanner(System.in); System.out.println("Enter the CustomerId "); int lIntCustomerId=Integer.parseInt(in.nextLine()); System.out.println("Enter the Annual Income"); double lDbAnnualIncome=Double.parseDouble(in.nextLine()); Customer lObjCustomer = retrieveCustomerFromFile(lIntCustomerId, lDbAnnualIncome); if(lObjCustomer==null){ System.out.println("Customer doesnt exist "); } else{ System.out.println("Enter the loan amount"); lDbLoanAmountRequested = Double.parseDouble(in.nextLine()); System.out.println("Enter the tenure"); lIntTenure = Integer.parseInt(in.nextLine()); String lStrRiskLevel = lObjCarLoan.CalculateRiskLevel(lObjCustomer, lIntTenure, lDbLoanAmountRequested); boolean lBooLoanStatusAccepted = lObjCarLoan.isAccepted(lStrRiskLevel); if(lBooLoanStatusAccepted){ double lDbInterestRate = lObjCarLoan.CalculateInterest(lObjCustomer.getgStrCreditLevel(), lStrRiskLevel); System.out.println("Loan Accepted\nInterest Rate : "+ lDbInterestRate); lObjCarLoan.updateCustomerRecord(lObjCustomer, lDbLoanAmountRequested); }else{ System.out.println("Maa chuao: "); } } // System.out.println(lObjCustomer.getgDbAnnualIncome()); // System.out.println(lObjCustomer.getgDbTotalExistingLoanAmount()); // System.out.println(lObjCustomer.getgIntCustomerId()); // System.out.println(lObjCustomer.getgStrCreditLevel());

} static Customer retrieveCustomerFromFile(int CustomerId, double AnnualIncome){ Customer lObjCustomer = new Customer(); int lIntCustomerId = 0; String lStrCustomerName = null; String lStrCreditLevel = null; double lDbAnnualIncome = 0; double lDbTotalExistingLoanAmount = 0; boolean lBooCustomerFound = false; try{ // Open the file that is the first // command line parameter FileInputStream fstream = new FileInputStream("Customers.txt"); // Get the object of DataInputStream DataInputStream inp = new DataInputStream(fstream); BufferedReader br = new BufferedReader(new InputStreamReader(inp)); String strLine; //Read File Line By Line while ((strLine = br.readLine()) != null) { // Print the content on the console int commaLocation = strLine.indexOf(','); lIntCustomerId = Integer.parseInt(strLine.substring(0, commaLocation)); if(lIntCustomerId == CustomerId){ lBooCustomerFound = true; int nextCommaLocation = strLine.indexOf(',', commaLocation + 1); lStrCustomerName = strLine.substring(commaLocation + 1, nextCommaLocation); commaLocation = nextCommaLocation; nextCommaLocation = strLine.indexOf(',', commaLocation + 1); lStrCreditLevel = strLine.substring(commaLocation + 1, nextCommaLocation); commaLocation = nextCommaLocation; nextCommaLocation = strLine.length(); lDbTotalExistingLoanAmount += Double.parseDouble(strLine.substring(commaLocation + 1, nextCommaLocation)); } } if(lBooCustomerFound){ lObjCustomer.setgDbAnnualIncome(AnnualIncome); lObjCustomer.setgDbTotalExistingLoanAmount(lDbTotalExistingLoanAmount); lObjCustomer.setgIntCustomerId(lIntCustomerId); lObjCustomer.setgStrCreditLevel(lStrCreditLevel); lObjCustomer.setgStrCustomerName(lStrCustomerName); }else{ lObjCustomer=null; } inp.close(); }catch (Exception e){//Catch exception if any System.err.println("Error: " + e.getMessage()); } return lObjCustomer; } }
package carloanapp;

import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;

public class Customer {

private int gIntCustomerId;
private String gStrCustomerName;
private String gStrCreditLevel;
private  double gDbAnnualIncome;
private double gDbTotalExistingLoanAmount;

public Customer(){

}
public int getgIntCustomerId() {
    return gIntCustomerId;
}
public void setgIntCustomerId(int gIntCustomerId) {
    this.gIntCustomerId = gIntCustomerId;
}
public String getgStrCustomerName() {
    return gStrCustomerName;
}
public void setgStrCustomerName(String gStrCustomerName) {
    this.gStrCustomerName = gStrCustomerName;
}
public String getgStrCreditLevel() {
    return gStrCreditLevel;
}
public void setgStrCreditLevel(String gStrCreditLevel) {
    this.gStrCreditLevel = gStrCreditLevel;
}
public double getgDbAnnualIncome() {
    return gDbAnnualIncome;
}
public void setgDbAnnualIncome(double gDbAnnualIncome) {
    this.gDbAnnualIncome = gDbAnnualIncome;
}
public double getgDbTotalExistingLoanAmount() {
    return gDbTotalExistingLoanAmount;
}
public void setgDbTotalExistingLoanAmount(double gDbTotalExistingLoanAmount) {
    this.gDbTotalExistingLoanAmount = gDbTotalExistingLoanAmount;
}
}
View Answers

September 10, 2012 at 3:05 AM

class for carloan :

package carloanapp;

import java.io.FileWriter;
import java.io.IOException;

public class CarLoan {
    Customer gObjCustomer = null;
    double gDbRequestedLoanAmount = 0;
    double gDbInterestRate = 0;
    String gStrLoanRiskLevel = null;

String CalculateRiskLevel(Customer lObjCustomer, int lIntTenure, Double lDbAmountRequested){ double lDbEMI; double lDbSalary; double lDbTotalLoanAmount; String lStrRiskLevel = null; lDbSalary = lObjCustomer.getgDbAnnualIncome() / 12; lDbTotalLoanAmount = lObjCustomer.getgDbTotalExistingLoanAmount() + lDbAmountRequested; lDbEMI = lDbTotalLoanAmount / ( lIntTenure * 12 ); if(lObjCustomer.getgStrCreditLevel().equals("good")){ if(lDbEMI <= lDbSalary * 40 / 100){ lStrRiskLevel = "low"; }else if(lDbSalary * 40 / 100 < lDbEMI && lDbEMI <= lDbSalary * 80 / 100){ lStrRiskLevel = "medium"; }else{ lStrRiskLevel = "high"; } }else if(lObjCustomer.getgStrCreditLevel().equals("normal")){ if(lDbEMI <= lDbSalary * 30 / 100){ lStrRiskLevel = "low"; }else if(lDbSalary * 30 / 100 < lDbEMI && lDbEMI <= lDbSalary * 70 / 100){ lStrRiskLevel = "medium"; }else{ lStrRiskLevel = "high"; } }else if(lObjCustomer.getgStrCreditLevel().equals("bad")){ if(lDbEMI <= lDbSalary * 20 / 100){ lStrRiskLevel = "low"; }else if(lDbSalary * 20 / 100 < lDbEMI && lDbEMI <= lDbSalary * 60 / 100){ lStrRiskLevel = "medium"; }else{ lStrRiskLevel = "high"; } } return lStrRiskLevel; } double CalculateInterest(String lStrCreditLevel, String lStrRiskLevel){ double lDbInterestRate=0; if (lStrCreditLevel.equals("good") && lStrRiskLevel.equals("high")){ lDbInterestRate=11; } else if(lStrCreditLevel.equals("good") && lStrRiskLevel.equals("medium")){ lDbInterestRate=10; } else if(lStrCreditLevel.equals("good") && lStrRiskLevel.equals("low")){ lDbInterestRate=9; } else if(lStrCreditLevel.equals("normal") && lStrRiskLevel.equals("high")){ lDbInterestRate=12; } else if(lStrCreditLevel.equals("normal") && lStrRiskLevel.equals("medium")){ lDbInterestRate=11; } else if(lStrCreditLevel.equals("normal") && lStrRiskLevel.equals("low")){ lDbInterestRate=10; } else if(lStrCreditLevel.equals("bad") && lStrRiskLevel.equals("high")){ lDbInterestRate=13; } else if(lStrCreditLevel.equals("bad") && lStrRiskLevel.equals("medium")){ lDbInterestRate=12; }else if(lStrCreditLevel.equals("bad") && lStrRiskLevel.equals("low")){ lDbInterestRate=11; } return lDbInterestRate; } void updateCustomerRecord(Customer lObjCustomer,double lDbRequestedLoan){ try{ String filename= "Customers.txt"; FileWriter fw = new FileWriter(filename,true); //the true will append the new data fw.write("\r\n"+lObjCustomer.getgIntCustomerId()+","+lObjCustomer.getgStrCustomerName()+","+lObjCustomer.getgStrCreditLevel()+","+lDbRequestedLoan);//appends the string to the file fw.close(); } catch(IOException ioe) { System.err.println("IOException: " + ioe.getMessage()); } } boolean isAccepted(String lStrLoanRisk){ boolean lBooLoanAccepted=true; if(lStrLoanRisk.equals("high")){ lBooLoanAccepted=false; } return lBooLoanAccepted; } }

September 10, 2012 at 3:07 AM

class for CarLoanApp :

package carloanapp;
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.Scanner;

public class CarLoanApp { public static void main(String args[]){ double lDbLoanAmountRequested = 0; int lIntTenure = 0; CarLoan lObjCarLoan=new CarLoan(); Scanner in = new Scanner(System.in); System.out.println("Enter the CustomerId "); int lIntCustomerId=Integer.parseInt(in.nextLine()); System.out.println("Enter the Annual Income"); double lDbAnnualIncome=Double.parseDouble(in.nextLine()); Customer lObjCustomer = retrieveCustomerFromFile(lIntCustomerId, lDbAnnualIncome); if(lObjCustomer==null){ System.out.println("Customer doesnt exist "); } else{ System.out.println("Enter the loan amount"); lDbLoanAmountRequested = Double.parseDouble(in.nextLine()); System.out.println("Enter the tenure"); lIntTenure = Integer.parseInt(in.nextLine()); String lStrRiskLevel = lObjCarLoan.CalculateRiskLevel(lObjCustomer, lIntTenure, lDbLoanAmountRequested); boolean lBooLoanStatusAccepted = lObjCarLoan.isAccepted(lStrRiskLevel); if(lBooLoanStatusAccepted){ double lDbInterestRate = lObjCarLoan.CalculateInterest(lObjCustomer.getgStrCreditLevel(), lStrRiskLevel); System.out.println("Loan Accepted\nInterest Rate : "+ lDbInterestRate); lObjCarLoan.updateCustomerRecord(lObjCustomer, lDbLoanAmountRequested); }else{ System.out.println("loan rejected: "); } } // System.out.println(lObjCustomer.getgDbAnnualIncome()); // System.out.println(lObjCustomer.getgDbTotalExistingLoanAmount()); // System.out.println(lObjCustomer.getgIntCustomerId()); // System.out.println(lObjCustomer.getgStrCreditLevel()); } static Customer retrieveCustomerFromFile(int CustomerId, double AnnualIncome){ Customer lObjCustomer = new Customer(); int lIntCustomerId = 0; String lStrCustomerName = null; String lStrCreditLevel = null; double lDbAnnualIncome = 0; double lDbTotalExistingLoanAmount = 0; boolean lBooCustomerFound = false; try{ // Open the file that is the first // command line parameter FileInputStream fstream = new FileInputStream("Customers.txt"); // Get the object of DataInputStream DataInputStream inp = new DataInputStream(fstream); BufferedReader br = new BufferedReader(new InputStreamReader(inp)); String strLine; //Read File Line By Line while ((strLine = br.readLine()) != null) { // Print the content on the console int commaLocation = strLine.indexOf(','); lIntCustomerId = Integer.parseInt(strLine.substring(0, commaLocation)); if(lIntCustomerId == CustomerId){ lBooCustomerFound = true; int nextCommaLocation = strLine.indexOf(',', commaLocation + 1); lStrCustomerName = strLine.substring(commaLocation + 1, nextCommaLocation); commaLocation = nextCommaLocation; nextCommaLocation = strLine.indexOf(',', commaLocation + 1); lStrCreditLevel = strLine.substring(commaLocation + 1, nextCommaLocation); commaLocation = nextCommaLocation; nextCommaLocation = strLine.length(); lDbTotalExistingLoanAmount += Double.parseDouble(strLine.substring(commaLocation + 1, nextCommaLocation)); } } if(lBooCustomerFound){ lObjCustomer.setgDbAnnualIncome(AnnualIncome); lObjCustomer.setgDbTotalExistingLoanAmount(lDbTotalExistingLoanAmount); lObjCustomer.setgIntCustomerId(lIntCustomerId); lObjCustomer.setgStrCreditLevel(lStrCreditLevel); lObjCustomer.setgStrCustomerName(lStrCustomerName); }else{ lObjCustomer=null; } inp.close(); }catch (Exception e){//Catch exception if any System.err.println("Error: " + e.getMessage()); } return lObjCustomer; } }

September 10, 2012 at 3:08 AM

class for Customer :

package carloanapp;

import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;

public class Customer {

private int gIntCustomerId;
private String gStrCustomerName;
private String gStrCreditLevel;
private  double gDbAnnualIncome;
private double gDbTotalExistingLoanAmount;

public Customer(){

}
public int getgIntCustomerId() {
    return gIntCustomerId;
}
public void setgIntCustomerId(int gIntCustomerId) {
    this.gIntCustomerId = gIntCustomerId;
}
public String getgStrCustomerName() {
    return gStrCustomerName;
}
public void setgStrCustomerName(String gStrCustomerName) {
    this.gStrCustomerName = gStrCustomerName;
}
public String getgStrCreditLevel() {
    return gStrCreditLevel;
}
public void setgStrCreditLevel(String gStrCreditLevel) {
    this.gStrCreditLevel = gStrCreditLevel;
}
public double getgDbAnnualIncome() {
    return gDbAnnualIncome;
}
public void setgDbAnnualIncome(double gDbAnnualIncome) {
    this.gDbAnnualIncome = gDbAnnualIncome;
}
public double getgDbTotalExistingLoanAmount() {
    return gDbTotalExistingLoanAmount;
}
public void setgDbTotalExistingLoanAmount(double gDbTotalExistingLoanAmount) {
    this.gDbTotalExistingLoanAmount = gDbTotalExistingLoanAmount;
}


}

January 16, 2017 at 1:54 PM

The best way to calculate loan and EMI are on the basis of the mathematical formula:

[P x R x (1+R)^N]/[(1+R)^N-1

where P stands for the loan amount or principal,

R is the interest rate per month [if the interest rate per annum is 11%, then the rate of interest will be 11/(12 x 100)],

and N is the number of monthly installments.

Source: http://www.emicalculators.in

Ads









Related Tutorials/Questions & Answers:
how to calculate EMI of the loan
how to calculate EMI of the loan   package carloanapp; import...{ System.out.println("Enter the loan amount"); lDbLoanAmountRequested...(), lStrRiskLevel); System.out.println("Loan Accepted\nInterest Rate
iPhone EMI Calculator, EMI Calculator for iPhone
Calc using Affordable Loan Calculator tab. How to use this tool? Using our EMI...) and the second is Affordable Loan Calculation (ALC). The first EMI Calculation.... EMAIL On the foot side, three tabs will appear: EMI Calculator, Affordable Loan
Advertisements
How to calculate attending hours?
How to calculate attending hours?  I need to calculate attending hours of a employee in a day in my project to make their monthly salary . By using work starting time and ending time. How should I do it using Date class? Or any
How to calculate days in a year
How to calculate days in a year  Hi, How to calculate no of days in a year? I want a program that calculates no of days in a year by specifying year a parameter. Thanks   Hi, Please check the thread example
How to calculate the average in Hibernate?
How to calculate the average in Hibernate?  Hi, I have to calculate the average in Hibernate. How to calculate the average in Hibernate? Thanks   Hi, You can use the project in Hibernate. Here is the example code
how to calculate the price on the option box
how to calculate the price on the option box  How i calculate the value when i using a option box with 2 option..first option i used for product name... to calculate this value
How to calculate average of array in Java?
How to calculate average of array in Java?  Hi, I have an integer array and I want to calculate the average of the values in it. How to calculate... the elements of array and then calculate sum. Then divide it with the length
How to calculate area of rectangle
How to Calculate Area of Rectangle       In this section we will learn how to calculate area... explain the static method how to display the rectangle values. First of all we have
How to calculate Date Difference in Java?
How to calculate Date Difference in Java?  Hi, I have two dates variable. How to calculate Date Difference in Java? Thanks   Hi, You can use the Calendar class for calculating the date difference in Java. Get data
loan repayment
loan repayment  Monthly installment calculation is (Loan Amount / (12 * number of years of year repayment)) + 7% of (loan Amount) In case... % of monthly installment * n A customer can also check the status of the loan
How to calculate sum of HH:MM:SS Format?
How to calculate sum of HH:MM:SS Format?  how to calculate sum of HH:MM:SS? for example: 10:25:36+26:50:56 calculate sum of these values
ModuleNotFoundError: No module named 'emi-ucp'
ModuleNotFoundError: No module named 'emi-ucp'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'emi-ucp' How to remove the ModuleNotFoundError: No module named 'emi-ucp
ModuleNotFoundError: No module named 'emi-ucp'
ModuleNotFoundError: No module named 'emi-ucp'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'emi-ucp' How to remove the ModuleNotFoundError: No module named 'emi-ucp
loan calculator
loan calculator  code of the loan clculator
How to calculate area of triangle
.style1 { margin-right: 0px; } How to Calculate...; In this section we will learn how to calculate area of triangle. We... in this program we will fine the how to the display massage the area
java loan calculator applet help
test file) to calculate loan payments. The user will provide the interest rate, the number of years, and loan amount. this is what I have so far import...java loan calculator applet help  Hi, I could use some help
ModuleNotFoundError: No module named 'loan-calculator'
named 'loan-calculator' How to remove the ModuleNotFoundError: No module named 'loan-calculator' error? Thanks   Hi, In your python...ModuleNotFoundError: No module named 'loan-calculator'  Hi, My
How to calculate minimum in Hibernate using the min() Function
How to calculate minimum in Hibernate using the min() Function The min() function of Hibernate API translates it to the SQL query and execute it against... ) Example : Example program discussed here will teach you how to use the HQL min
how to calculate addition of two distances in feets and inches using objects as functions arguments
how to calculate addition of two distances in feets and inches using objects as functions arguments  how to calculate addition of two distances in feets and inches using objects as functions arguments in java
ModuleNotFoundError: No module named 'loan-payment-calc'
named 'loan-payment-calc' How to remove the ModuleNotFoundError: No module named 'loan-payment-calc' error? Thanks   Hi, In your...ModuleNotFoundError: No module named 'loan-payment-calc'  Hi, My
ModuleNotFoundError: No module named 'loan_payoff_tools'
named 'loan_payoff_tools' How to remove the ModuleNotFoundError: No module named 'loan_payoff_tools' error? Thanks   Hi, In your...ModuleNotFoundError: No module named 'loan_payoff_tools'  Hi, My
ModuleNotFoundError: No module named 'odoo11-addon-account-loan'
: No module named 'odoo11-addon-account-loan' How to remove the ModuleNotFoundError: No module named 'odoo11-addon-account-loan' error? Thanks  ...ModuleNotFoundError: No module named 'odoo11-addon-account-loan'  Hi
ModuleNotFoundError: No module named 'odoo11-addon-account-loan'
: No module named 'odoo11-addon-account-loan' How to remove the ModuleNotFoundError: No module named 'odoo11-addon-account-loan' error? Thanks  ...ModuleNotFoundError: No module named 'odoo11-addon-account-loan'  Hi
ModuleNotFoundError: No module named 'odoo11-addon-account-loan'
: No module named 'odoo11-addon-account-loan' How to remove the ModuleNotFoundError: No module named 'odoo11-addon-account-loan' error? Thanks  ...ModuleNotFoundError: No module named 'odoo11-addon-account-loan'  Hi
calculate reward points.
calculate reward points.  How to calculate reward points in a multiplex automation system
ModuleNotFoundError: No module named 'calculate'
'calculate' How to remove the ModuleNotFoundError: No module named 'calculate' error? Thanks   Hi, In your python environment you...ModuleNotFoundError: No module named 'calculate'  Hi, My Python
How automatically calculate age based on date of birth and current date using jsp and servlet?
How automatically calculate age based on date of birth and current date using jsp and servlet?  when user enters the Date of birth in one textbox then automatically age will be display on another textbox. event:Onlick Event
calculate sum of individual digit
calculate sum of individual digit   How calculate product of first and last digit of indiviual numbers Like a=43278 4*8=32
How to use Sigma grid built-in capabilities to calculate aggregates where Sortable property set to TRUE
How to use Sigma grid built-in capabilities to calculate aggregates where Sortable property set to TRUE  How to use Sigma grid built-in capabilities to calculate aggregates where Sortable property set to TRUE, So that We can also
calculate sum of individual digit
calculate sum of individual digit  Hi How to calculate product of first snd last digit of indiviual digit Like Num=23456 S=2*6
calculate average
calculate average  Question 2 cont.d Test case c: home works/labs 10 9 9 9 10 10 9 9 10 10 9 9 10 test scores: 65 89 note, the program should work with different numbers of home works/labs

Ads