Franco_Yesica_M03HW.docx - IVY TECH COMMUNITY COLLEGE SDEV120 – M03 Apply Homework Assignment Complete the following Programming Challenges on page 65

Franco_Yesica_M03HW.docx - IVY TECH COMMUNITY COLLEGE...

This preview shows page 1 - 3 out of 3 pages.

IVY TECH COMMUNITY COLLEGE SDEV120 – M03 Apply: Homework Assignment Complete the following Programming Challenges on page 65 of the Prelude to Programming book: Number 1 - B only . Use an ATM machine to withdraw money (5 points) In Programming Challenges 2, 3 and 4, write a program (like the programs in chapter 1) to solve the given problem. Include appropriate input prompts and annotate output. o Complete 2, 3 and 4 only (15 points each) Use Microsoft Word to complete this assignment. Make sure to include your name, M03HW, and label each problem with the problem number in the document. Save your file as LASTNAME_FIRSTNAME_M03HW (where LASTNAME is your last name and FIRSTNAME is your first name). Upload the assignment to the M02 Apply: Homework Assignment link on IvyLearn once completed. 1B) Go to your bank’s ATM Pull up next to the card slot Insert your card into the slot There will be a prompt saying to put in your PIN number Before you withdraw any about make sure to have enough money in your account After you put your PIN if will ask what type of transaction you would like to make you would select
Image of page 1
Image of page 2
Image of page 3

You've reached the end of your free preview.

Want to read all 3 pages?

Unformatted text preview: Withdraw After you select withdraw it will give you options to amounts you can withdraw, and you select the amount The cash will then come out from another slot and you take it It will then ask you if you are done with your transaction, and if you are you can take your card out If you requested a receipt you can take the receipt as well and you can drive away 2) Declare MealPrice as float Declare Tip as float Prompt “Price of the meal” Input MealPrice Set Tip = .15 * MealPrice Prompt “The amount of your tip is” + tip 3) Declare celsius as float Declare Fahrenheit as float Prompt “Temperature in celsius” Input Temperature in celsius Set Temperature in Fahrengeit = 9/5 * Celsius + 32 Prompt “Temperature is Fahrenheit” + Fahrenheit 4) Declare Hits as Integer Declare AtBats as integer Declare BatAvg as float Prompt “Number of Hits” Input Hits Prompt “Number of AtBats” Input AtBats Sum = Hits + AtBats BatAvg = sum/2 Prompt “The BatAvg is” + BatAvg...
View Full Document

  • Spring '15

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors