Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computer Programming 12 Mr. Jean March 5 th, 2014.

Similar presentations


Presentation on theme: "Computer Programming 12 Mr. Jean March 5 th, 2014."— Presentation transcript:

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:

4

5

6

7 How to build new projects:

8

9

10

11

12

13

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.


Download ppt "Computer Programming 12 Mr. Jean March 5 th, 2014."

Similar presentations


Ads by Google