Given a class ContestantHealth for walkathon, with data members, id, name, age, DOJ (date of joining in the group), heig

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: 899603
Joined: Mon Aug 02, 2021 8:13 am

Given a class ContestantHealth for walkathon, with data members, id, name, age, DOJ (date of joining in the group), heig

Post by answerhappygod »

Given A Class Contestanthealth For Walkathon With Data Members Id Name Age Doj Date Of Joining In The Group Heig 1
Given A Class Contestanthealth For Walkathon With Data Members Id Name Age Doj Date Of Joining In The Group Heig 1 (40.92 KiB) Viewed 31 times
Given a class ContestantHealth for walkathon, with data members, id, name, age, DOJ (date of joining in the group), height, weight, diabetic (Boolean). Create an array of objects to maintain the health information of n contestant. a. write a method getdetails() to read inputs. b. Write the static method fittest() to identify the contestant with height >5.7 and weight ranging between 70-75KG with no diabeties. c. Write a static method senior () to identify the contestant whose joining in the group is above 5 years. d. Write a static method sort () to display the contestant details with respect to age.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply