3 Write a CH program using classes and objects, which can find out the overall average of the entire group ( say n) of p

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

3 Write a CH program using classes and objects, which can find out the overall average of the entire group ( say n) of p

Post by answerhappygod »

3 Write A Ch Program Using Classes And Objects Which Can Find Out The Overall Average Of The Entire Group Say N Of P 1
3 Write A Ch Program Using Classes And Objects Which Can Find Out The Overall Average Of The Entire Group Say N Of P 1 (87.46 KiB) Viewed 46 times
3 Write a CH program using classes and objects, which can find out the overall average of the entire group ( say n) of patients. A single object with default constructor adds 10 patients with 60 kg average weight, while another object of the same class with parameterized constructor adds ni patients with wi kg overweight or underweight ( for eg.. ni-5, and wi-10 means 5 patients are added where their average weight is 10 kg above the average weight of 60 kg). ALL objects of this patient class (and ONLY objects of this patient class) update the total weight and the total number (n) of patients and can display the overall average. Your C# program should provide all these facilities CO3, L3 Marks -10
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply