Write a program to print the product of 25.5 and 8.6. also print the division of 85 by 3 (Java)
Answers
Answered by
4
Answer: class evaluate
{
Void calc()
{
double a,q;
a = 25.5*8.6;
System.out.println("the product is "+a);
q=85/3;
System.out.println("the quotient is "+q);
}
}
Explanation: just using the * and / operators
Simple
Similar questions