Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help on C++ H/W. Thx Use Object Oriented Program design to solve the problems below. Encapsulation Example Classes / Methods /etc. Task Write a

Need help on C++ H/W. Thx

image text in transcribed

Use Object Oriented Program design to solve the problems below. Encapsulation Example Classes / Methods /etc. Task Write a program that uses an array to ind the Average of a set float values entered by the user. You will have the main function control the operation of the program, but all values will be stored in the class You will need to use get and set methods in your class. Create an array as a member of the class. Create 1 method to handle user input. Create 1 method to sum all numbers in array Create 1 method to output the average of all numbers input by the user. Create 1 method to output all the numbers input by the user. Attach Snipping photos of source code and output. Please show output of all methods executing

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

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions

Question

Please help me evaluate this integral. 8 2 2 v - v

Answered: 1 week ago