Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions

Question

=+what you can edit out yet still get the message across.

Answered: 1 week ago

Question

What Is acidity?

Answered: 1 week ago

Question

Explain the principles of delegation

Answered: 1 week ago

Question

State the importance of motivation

Answered: 1 week ago

Question

Discuss the various steps involved in the process of planning

Answered: 1 week ago

Question

What are the challenges associated with tunneling in urban areas?

Answered: 1 week ago