Write a program and flowchart, and include a snippet of your program running.
Your family has decided to do a Family Dinner each week, and are catering the event. And in honor of the holidays, for this Family Night, your family is doing a donation to your favorite charity. The amount donated will be a percentage of the total cost of the meal. The program should calculate total cost of the meal that will be catered - the costs can include both Adult and Children meals. The total combined catering costs should be calculated; and then the percentage of that total calculated.
• You must use at least two different arrays - These are, in effect, parallel arrays:
o One for Adult Meals
o One for Child Meals
• Remember to use a "for" loop for each array
• You should have totals in $ amount for:
o Adult Meal costs
o For example: class1; and class2
o Overall totals, combining all categories
o Percentage for the total categories – the % amount is your choice; for the program outcome shown below, 45% was used
• Hints and Suggestions:
o You can set your own catered meal prices – for example, adult meals are $10
o You can set how many adults/children meals are sold in each category – for example, 3 adult meals sold
You can also write the program to ask the user for this input, but this is not required
• At the end, it prints out the total dollar amount spent on sales for Adult Meals, Children Meals; and then an overall total spent. The percentage is then calculated, which is the charitable donation.
• Color has been added in this program - both at the top and the bottom; be sure to include color somewhere in your code.
Here is what the output looks like.
14 freelanceri licitează în medie 89$ pentru acest proiect
We will do your C work I am writing this proposal in order to work for you in Software and Web Development. We are highly trained professional developers seeking to freelance and earn online. Having a flair in program Mai multe
Hello, I will do simplest coding in C++, C using OOP, data structures concepts. It looks like an assignment so coding will be easily understandable for u. I have done many C/C++ works here. Lets have a chat for further Mai multe
##Experienced C/C++ Programmer## Hi dear sir/madam, I am an expert in C/C++ Programming Language and Problem Solving. I have vast knowledge in C, C++, JAVA Programming Language and years of working experience in p Mai multe
Hi, I've seen enough of your project details. I have 5+ yrs experience in C/C++ Programming and others else. I can implement your requirements perfectly. If you give me chance, I will provide good result. I can start Mai multe
Hello I am a C and C++ expert, with experience of more than 3 years. I can implement your code, with comments and explanations that serve your understanding. Please contact me to get started.
Hello, I'm an expert C,C++ developer with experience in object-oriented, data structure and more advanced. I can help you to finish this project with great quality. We can negotiate on price/Budget Regards Relevant Ski Mai multe
Hello Greeting of the day....!! I have gone through your requirement. I can complete this task very efficiently. I would like to invite you to initiate the chat for further discussion. Thanks
Hello I am mew in freelancer , but I have experience , so I can complete your project with a low price and a good review. Please send me message for more details.
Hi dear client, I am quite interested in your work. I have done several projects related to this work. I can show some samples for your consideration. I have almost 3 years of experience in this field and solid knowl Mai multe
Hi, I can definitely finish your project within a few hours including the flow chart as I am a student and have made similar assignments recently. I can include comments too if you want.
There is not a big issue in this project for coding. it's an easy project to do . I am interested in this project to work with you. i hope you will share your requirements specifically if any additional facility to a Mai multe
Hello, I just had read your project narrative & examined the attached sample chronically. Few queries are jumping up to catch my attention to complete this incomplete task for response I need you to talk to me. Let’s Mai multe
hello sir, im samivan u can call me sami for short. ive read the discription and i think i can do the programing as well draw the flow chart. honestly i have no experience ,but i think im capable to do it. i was not a Mai multe