Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The Huntington Boys and Girls Club is conducting a fundraiser by selling chili dinners to go. The price is $7.00 for an adult meal and
The Huntington Boys and Girls Club is conducting a fundraiser by selling chili dinners to go. The price is $7.00 for an adult meal and $4.00 for a childs meal. Write a program that accepts the number of adult meals ordered and then children's meals ordered. Display the total money collected for adult meals, childrens meals, and all meals.
An example of the program is shown below:
Enter number of adult meals ordered >> 10 Enter number of child meals ordered >> 5 10 adult meals were ordered at 7.0 each. Total is 70.0 5 child meals were ordered at 4.0 each. Total is 20.0 Grand total for all meals is 90.0
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