Computer Science, asked by raj6835, 11 months ago

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 pallavi7721
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