write a java program ratan brought 260 kgs of mango from the market. Each kg of mango is 82.25 rupees cost. Calculate and print how much amount ratan has to pay to the fruit vendor??
Share
write a java program ratan brought 260 kgs of mango from the market. Each kg of mango is 82.25 rupees cost. Calculate and print how much amount ratan has to pay to the fruit vendor??
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
public class mango
{
public static void main(String args[])
{
double a = 82.25;
double b = 260;
double sum = 260*82.25;
System.out.println("This is the total amont" +sum);
}
}
Explanation:
First you have to find out value of 1kg of mango, after finding the price of 1kg mango, you can multiply the price of 1kg mango with 260kg to find out total price.
THANK YOU:)
Answer:
ese he poocha mene bura mat maan'na
Explanation: