1. Engineering
  2. Computer Science
  3. ecusers younisappdatalocalpackagesmcrosaf microsaft dge bwelyb3debbwetempstatedownloadsasso1 w19x2019pdf return 0 programming questions...

Question: ecusers younisappdatalocalpackagesmcrosaf microsaft dge bwelyb3debbwetempstatedownloadsasso1 w19x2019pdf return 0 programming questions...

Question details

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:

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution