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.

Programming Essentials-CS 192/GU

by | Nov 29, 2023 | questions

NEED HELP FAST!!! – Design a While loop that lets the user enter a number.

Document Preview:

Design a While loop that lets the user enter a number. The number should be multiplied by 10, and the result stored in a variable named product. The loop should iterate as long as product contains a value less than 100.

Design a For loop that calculates the total of the following series of numbers:
1 + 2 + 3 + …..30
30 29 28 1

Convert the While loop in the following code to a Do-While loop:

Declare Integer x = 1
While x > 0
Display “Enter a number.”
Input x
End While

Centigrade to Fahrenheit Table
Design a program that displays a table of the centigrade temperatures 0 through 20 and their Fahrenheit equivalents. The formula for converting a temperature from centigrade to Fahrenheit is

F=9 C + 32
5

Largest and Smallest

Design a program with a loop that lets the user enter a series of numbers. The user should enter-99 to signal the end of the series. After all the numbers have been entered, the program should display the largest and smallest numbers entered.

Write a pseudocode statement that generates a random number in the range of 1 through 100 and assigns it to a variable named rand.

Design a function named timesTen that accepts and Integer argument. When the function is called, it should return the value of its argument multiplied times 10.

Kinetic Energy

In physics, an object that is in motion is said to have kinetic energy. The following formula can be used to determine a moving object’s kinetic energy:

KE = 1/2mv2

The variables in the formula are as follows: KE is the kinetic energy, m is the object’s mass in kilograms, and v is the object’s velocity, in meters per second.

Design a function named kineticEnergy that…

Attachments:


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!