Posted: April 7th, 2021

# Unit 1 exercise: logic drills | programming | ECPI University

Write out the logic to the following problems.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.

Example: Represent the logic of a program that allows the user to enter a value. The program divides the value by 2 and outputs the result.

Solution:

start

input myNumber

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.

set myAnswer = myNumber / 2

stop

1. Represent the logic of a program that allows the user to enter a value for one edge of a cube. The program calculates the surface area of one side of the cube, the surface area of the cube, and its volume. The program outputs all the results.
2. Represent the logic of a program that allows the user to enter two values. The program outputs the product of the two values.
3. Represent the logic of a program that allows the user to enter values for the width and length of a room’s floor in feet. The program outputs the area of the floor in square feet.

### Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

## Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
\$0.00
professionalsessays.com
Hello!
You Can Now Place your Order through WhatsApp

Order your essay today and save 30% with the discount code 2022DISCOUNT