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...

• 3

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

#### 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

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern