ScholarMatic | 24/7 Homework Help

ScholarMatic Will Help You Write Your Essays and Term Papers

Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.

CS-192 Programming Essentials-GU/Chap 4

by | Nov 29, 2023 | questions

Need urgent.

Document Preview:

Design nested decision structures that perform the following: If amount 1 is greater than 10 and amount 2 is less than 100, display the greater of amount 1 and amount 2?

Rewrite the following If-Then-Else If statement as a Select Case statement.
If selection== 1 Then
Display “You selected A.”
Else if selection== 2 Then
Display “You selected 2.”
Else if selection==3 Then
Display “You selected 3.”
Else if selection ==4 Then
Display “You selected 4.”
Else
Display “Not good with numbers, eh?”
End if

Write an If-Then statement that sets the variable hours to 10 when the flag variable minimum is set.

4) Areas of Rectangles
The area of a rectangle is the rectangle’s length its width. Design a program that asks for the length and width of two rectangles. The program should tell the user which rectangle has the greater area, of if the areas are the same.

5) Body Mass Index Program Enchancement
In programming exercise 6 in Chapter 3, you were asked to design a program that calculates a person’s body mass index(BMI). Recall from that exercise that the BMI is often used to determine whether a person with a sedentary lifestyle is overweight or underweight for their height.. A person’s BMI is calculated with the following formula:

BMI=Weight x 703/ Height2

Enchance the program so it displays a message indicating whether the person has optimal weight, is underweight, or is overweight. A sedentary person’s weight is considered to be optimal if his or her BMI is between 18.5 and 25. If the BMI value is greater than 25, the person is considered to be overweight.

a program that calculates a person’s body mass index(BMI). Recall from that exercise that the BMI is often used to determine whether a person with a sedentary lifestyle is overweight or underweight for their height.. A person’s BMI is calculated with the following formula:

…

ScholarMatic: Explanation & Answer

Your ready answer from a verified tutor is just a click away for as little as $14.99


  

Click Order Now to get 100% Original Answer Customized to your instructions!

HOME TO CERTIFIED WRITERS

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

Have a similar question?

PLAGIRAISM FREE PAPERS

All papers we provide are well-researched, properly formatted and cited.

TOP QUALITY

All papers we provide are well-researched, properly formatted and cited.

HIGHLY SECURED

All papers we provide are well-researched, properly formatted and cited.

ScholarMatic: Get Started

Assignment Writing Service

Feel safe and secure when placing an order on our portal!
Fruitful cooperation begins with solid guarantees, and we are professional enough to promise perfect results. Let’s get it started!