Computer Science, asked by shravyabbp, 7 months ago

Rewrite the following program correctly:
x = 2
y = 2.2;
float z = x * y;
System.out.printline("Value of x = " x)
system.out.println("Value of z = " + z) in java​

Attachments:

Answers

Answered by aryaparge
0

Answer:

float x = 2f;

float y = 2.2f;

float z = x * y;

System.out.println("Value of x = " x) ;

system.out.println("Value of z = " + z);

Similar questions