(5/5)

Hire Me
(5/5)

Hire Me
(5/5)

Hire Me
(5/5)

Hire Me

# Write out the logic to the following problems, using pseudocode. Pseudocode examples can be found in the “Writing Pseudocode” section

INSTRUCTIONS TO CANDIDATES

Write out the logic to the following problems, using pseudocode. Pseudocode examples can be found in the “Writing Pseudocode” section of chapter 1 in the Programming Logic and Design textbook.

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

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.

You will write a flowchart, and C code for a program that does the following:

1. Asks a user for a number.
2. Multiplies that number by itself.
3. Outputs the number and the result, using descriptive language to tell the user what they're seeing.

You will write a flowchart, and C code for a program that does the following:

1. Asks a user for their age.
2. Uses an "if" statement to determine if the user is under age 18.
3. Has appropriate output telling the user if they can vote or not.

## Related Questions

##### . The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

##### . Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

##### . The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

##### . Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

##### . The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme

Get Free Quote!

345 Experts Online