Computer Science, asked by sharonlakra2260, 5 months ago

(iii)write a java statement
to declare a double variable and assign the result of the expression
12/3*2-1.

Answers

Answered by kamalrajatjoshi94
3

Answer:

double x=0.0;

x=12/3*2-1;

System.out.println("The result of the expression"+x);

Similar questions