Answered step by step
Verified Expert Solution
Question
1 Approved Answer
e//CUsers Younis/AppData/Local/Packages/Mcrosaf Microsaft dge Bwelyb3debbwe/TempState/Downloads/Asso1 W19x2019).pdf return 0 Programming Questions 8. Stadium Seating points) ere are three seating categories at a stadium. For a softball
e//CUsers Younis/AppData/Local/Packages/Mcrosaf Microsaft dge Bwelyb3debbwe/TempState/Downloads/Asso1 W19x2019).pdf return 0 Programming Questions 8. Stadium Seating points) ere are three seating categories at a stadium. For a softball game, Class A seats cost S15, Class B seats cost $12, and Class C seats cost $9. Write a program that asks how many tickets for each class of seats were sold, then displays the amount of income generated from ticket sales. Format your dollar amount in fixed-point notation, with two decimal places of precision, and be sure the decimal point is always displayed Pate sa 9. Male and Female Percentages (9 points) Write a program that asks the user for the number of males and the number of females registered in a class. The program should display the percentage of males and females in the class. Hint: Suppose there are 8 males the class. The percer tage of males can be calculated as 8-20-04, or 40%. The percentag females can be calculated as 12 20 0.6, or 60%. and 12 females in a class. There are 20 students in e of 10. Currency (7 points) Write a program that will convert U.S. dollar amounts to Japanese yen and to conversion factors in the constants YEN PER DOLLAR and EUROS PER DOLLAR. To get the most up-to-date exchange rates, search the Internet using the term " If you dolla currency exchange rate" cannot find the most recent exchange rates, use the following
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started