Assignemnt #15 and Using Variables
Code
///Name: Daniel Tiffany-Appleton
///Period: 7
///Program Name: Using Variables
///File Name: UsingVarialbes
///Date Finished: 9/15/15
public class UsingVariables
{
public static void main( String[] args )
{
double e;
int Room;
String Class;
e = 2.71828;
Room = 113;
Class = "Computer Science";
System.out.println( "This is room # " + Room );
System.out.println( "e is close to " + e );
System.out.println( "I am learning a bit about " + Class );
}
}
Picture of the output