Find Jobs
Hire Freelancers

COMP 375

$30-5000 USD

Completed
Posted over 20 years ago

$30-5000 USD

Paid on delivery
Complete the following tasks: A) Design a Meal class with two fields- one that holds the name of the entree, the other that holds a calorie count integer. Include a constructor that sets a Meal's fields with arguments, or uses default values when no arguements are provided. B) Include a overloaded insertion operator function that displays a Meal's values C) Include a overloaded extraction operator that prompts a user for an entree name and calorie count for a meal D) Include an overloaded operator+() function that allows you to add two or more Meal objects. Adding two Meal objects means adding their calorie values and creating a summary Meal object in which you store "Daily Total" in the entree field. E) Write a main () program that declares four Meal objects named breakfast, lunch, dinner, and total. Provide values for the breakfast, lunch, and dinner objects. Include the statement TOTAL = BREAKFAST + LUNCH + DINNER; in your program, then display values for the four Meal objects. F) Write a main() program that declares an array of 21 Meal objects. Allow a user to enter values for 21 meals for the week. Total these meals and display calorie total for the end of the week. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site). ## Platform Microsoft C++ object oriented style programming
Project ID: 2992653

About the project

13 proposals
Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$13 USD in 1 day
4.9 (94 reviews)
4.3
4.3
13 freelancers are bidding on average $13 USD for this job
User Avatar
See private message.
$4.25 USD in 1 day
5.0 (84 reviews)
6.3
6.3
User Avatar
See private message.
$25.50 USD in 1 day
5.0 (39 reviews)
5.0
5.0
User Avatar
See private message.
$22.95 USD in 1 day
4.9 (79 reviews)
4.7
4.7
User Avatar
See private message.
$12.75 USD in 1 day
4.9 (37 reviews)
4.6
4.6
User Avatar
See private message.
$8.50 USD in 1 day
5.0 (36 reviews)
3.6
3.6
User Avatar
See private message.
$17 USD in 1 day
4.9 (36 reviews)
3.8
3.8
User Avatar
See private message.
$8.50 USD in 1 day
5.0 (42 reviews)
3.7
3.7
User Avatar
See private message.
$8.50 USD in 1 day
4.4 (5 reviews)
2.8
2.8
User Avatar
See private message.
$25.50 USD in 1 day
5.0 (4 reviews)
2.2
2.2
User Avatar
See private message.
$12.75 USD in 1 day
4.6 (12 reviews)
2.4
2.4
User Avatar
See private message.
$8.50 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$4.25 USD in 1 day
0.0 (1 review)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
26
Member since Apr 5, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.