Download presentation
Presentation is loading. Please wait.
Published byBryce Jerome Townsend Modified over 8 years ago
1
Computer Programming 12 Mr. Jean March 5 th, 2014
2
The plan: Video clip of the day Review of yesterday’s notes Step by step building a project Scan statements Java Programming Pass in Assignment #2
3
Review of yesterday's program:
7
How to build new projects:
14
Today’s work: We want to use a “scanning” tool in our programs.
15
The variables scanner:
16
Calling the scanner:
17
Using the called scanner:
18
Scanning for data:
19
Displaying scanned information:
20
Java Program Pass in assignment Create a program called “convertkmmph” which allows –a user to enter in km/h and it converts it to mph. –a user to enter in mph and it converts it to km/h. Output screen: Speed in km/h: “Input here” Speed converted to mph: “result” Speed in mph: “Input here” Speed converted to km/h: “result”
21
To do: Finish yesterday’s “IntOperations” program Start the speed converter “convertkmmph” program.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.