+ 1
JAVA
how to print multiple variables
1 Respuesta
+ 10
example :::_
int x=2,y=3; //we want to print values of x & y
System.out.print("x = " + x + "\n"+"y = "+y); //it will print values of x & y
// similarily for n number of variables ... u can do this & print their values easily
//hope u got it ☺