You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Write a program that creates three variables: an int, a double, and a String.
// Put the value 113 into the first variable, the value 2.71828 into the second, and the value "Computer Science" into the third. It does not matter what you call the variables... this time.
//Then, display the values of these three variables on the screen, one per line.
classUsingVariables{
publicstaticvoidmain (Stringargs[]){
introomNumber = 113;
doublee = 2.71828;
Stringlearning = "Computer Science";
System.out.println("This is room # " + roomNumber);
System.out.println("e is close to " + e);
System.out.println("I am learning about " + learning);