Upload
chris-lin
View
216
Download
3
Embed Size (px)
DESCRIPTION
worksheet on data types
Citation preview
Creator ID: 53052674 Answerer ID:_____________
Write what each step of the code does. Please use complete sentences.
1. Scanner stdin = new Scanner (System.in);
int month;
int day;
2. System.out.println(“Type in the month of your birthday in integers: “);
month = stdin.nextInt( );
3. System.out.println(“Type in the day of your birthday in integers: “);
day = stdin.nextInt( );
4. System.out.println(“Your birthday is on “ + month + “/” + day + “.”)