Cheap Essay logo
  • Home
  • Custom Papers
  • Dissertation Help
  • Essay Writing
  • My account
  • Order now
Order Now
Homework Help

Unit 1 exercise: logic drills | programming | ECPI University

1 min read
Posted on 
March 16th, 2022
Home Homework Help Unit 1 exercise: logic drills | programming | ECPI University

Write out the logic to the following problems.

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

  set myAnswer = myNumber / 2

  output myAnswer

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.

Put your solutions in a Word document, and upload it

Order an Essay Now & Get These Features For Free:

Turnitin Report

Formatting

Title Page

Citation

Outline

Place an Order
Share
Tweet
Share
Tweet
Calculate the price
Pages (275 words)
$0.00
Cheap Essay
Company
  • About Us
  • Coursework Writing
  • Custom Papers
  • Dissertation Help
  • Dissertation Writing
  • Essay Writing
Legal
  • Term Papers
  • Terms
  • Thesis Format
  • Thesis Statement
  • Why Choose Us
  • Write My Essay
How Our Service is Used:
Cheap Essay essays are NOT intended to be forwarded as finalized work as it is only strictly meant to be used for research and study purposes. Cheap Essay does not endorse or condone any type of plagiarism.
Subscribe
No Spam
© 2023 Cheap Essay. All rights reserved.
Cheap Essay will be listed as ‘Cheap Essay’ on your bank statement.