Answered step by step
Verified Expert Solution
Link Copied!

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
image text in transcribed

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

Microsoft Visual Basic 2008 Comprehensive Concepts And Techniques

Authors: Gary B. Shelly, Corinne Hoisington

1st Edition

1423927168, 978-1423927167

More Books

Students also viewed these Databases questions

Question

What has been your desire for leadership in CVS Health?

Answered: 1 week ago

Question

Question 5) Let n = N and Y Answered: 1 week ago

Answered: 1 week ago