Question: 4) Write a C# program that inputs five numbers from user and determines and displays the number of negative numbers input, the number of
4) Write a C# program that inputs five numbers from user and determines and displays the number of negative numbers input, the number of positive numbers input and the number of '0' input. [1 mark] 5) Write a C# program to perform to demonstrate the error handling using Try, catch and finally block. [1 Marks] 6) Write a C# program to create a BMI calculator app that reads the user's weight in pounds and height in inches (or, if you prefer, the user's weight in kilograms and height in meters), then calculates and displays the user's body mass index. The app should also display the following information from the Department of Health and Human Services/National Institutes of Health so the user can evaluate his/her BMI: [2.5 Marks] BMI VALUES Underweight: less than 18.5 Normal: between 18.5 and 24.9 Overweight: between 25 and 29.9 Obese: 30 or greater (Body Mass Index Calculator) The formulas for calculating the BMI are: BMI -w-e---i-g---------I----------0---- U--------------------- --7----0----3---- heightInInches x heightInInches
Step by Step Solution
3.48 Rating (155 Votes )
There are 3 Steps involved in it
4 CODE using system class Program static void Main ConsoleWriteLineEnter five nums var num new float... View full answer
Get step-by-step solutions from verified subject matter experts
