Presentation is loading. Please wait.

Presentation is loading. Please wait.

Basic Mr. Husch.

Similar presentations


Presentation on theme: "Basic Mr. Husch."— Presentation transcript:

1 Basic Mr. Husch

2 Open up the basic program.
First steps Open up the basic program.

3 Open a new project in basic.

4 Type in the following. Print “hello friend” then click the run button.

5 You should have a program pop up that says exactly what you typed in
You should have a program pop up that says exactly what you typed in. What does print mean in this program?

6 Congratulations you have your first program in Basic
Congratulations you have your first program in Basic! What is different about writing something in basic and writing something in another class? List 5 useful things that computer programs can do in the “JOURNAL” section of my website. I also want you to define the following terms in the journal: Input, calculation, and output. (hint look ahead in the PowerPoint.)

7 Definitions Input: Gathering of information needed for calculations. Calculation: Manipulation of information. Output: Display of final calculation and overall solution to the code.

8 If you were a cashier at a grocery store what information would you need to check someone out? The answer will be our input.

9 Input In basic type: Input “enter a price, please.”; amount

10 When you hit run what pops up? Why doesn’t “amount” pop up?

11 Calculation Now we need to add to our program. Let tax = amount*.07 In this program the word LET allows us to create a variable.

12 Now we need to include our output.

13 Create your own You will need to create your own program now with tax = .05 and you should have the program ask for the user to “type a dollar and cent amount?” When done CHECK THE PROGRAM if it works save as, and title the program “Lastname_Cashier” (ie Husch_Cashier”

14 Exit Slip Your exit slip for today if for you to tell me how you feel about this program and how it compares to previous programs that we have used.

15 When done Create a calculator program. This program only has to do one function, so just addition would be my recommendation. If you can do that see if you can figure out how to add a second function.


Download ppt "Basic Mr. Husch."

Similar presentations


Ads by Google