akosiraff

Download BMIClass

Nov 13th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1.  
  2. Download: https://solutionzip.com/downloads/bmiclass/
  3. Created BMI class with public access mode
  4. Defined at least two constructors for BMI class with public access
  5. Defined default constructor with public access
  6. Defined data members, selecting approriate data types, with private access for weight and height
  7. Defined properties for each data member (set & gets) with public access
  8. Defined a method to Calculate BMI as opposed to defining data member
  9. Calculate BMI method defined with public access, included no parameters. Returned a value, had no parameters
  10. Used Appropriate formula in the Calculate BMI method
  11. Provided method which tests BMI ranges, returned string for each category
  12. if statement designed to perform as few tests as needed
  13. Provided ToString( ) Method to display results
  14. Created second class, TestClassApp to test other class
  15. Instantiated object of BMI class
  16. Tested methods, properties, etc in test class
  17. Included as part of the final display a heading that includes student’s name
  18. Download: https://solutionzip.com/downloads/bmiclass/
Add Comment
Please, Sign In to add comment