write a Java program to calculate
and display the sum of the there
variable> a=3 ,b=3.4, c=6.9
Answers
Answered by
1
Answer:
import java. util.*;
class sum
{
public static void main ()
{
Scanner sc = new Scanner (System. in);
int a = 3 ,b= 3.4,c= 6.9
System.out.println(" sum of three no " = (a+b+c));
}
}
Similar questions
Social Sciences,
5 months ago
Science,
5 months ago
English,
11 months ago
Math,
1 year ago
Math,
1 year ago