Deliverable Length: 1 program, algorithm and 3 charts, 1-2 Paragraphs
Details: A teacher at a local elementary school has asked your company to create a program to perform a computation using a number input by the user. The user may choose to square, cube, double, or halve the number. The result should be output to the screen. After the result is displayed, the program should prompt the user to enter another number and select another computation or exit the program. Remember: The square of a number is XXX number multiplied by itself (2 squared is 2 * 2). The cube of a number is XXX number multiplied by itself 3 times (3 cubed is 3 * 3 * 3). Double the number is XXX number multiplied by 2. Half the number is XXX number divided by 2. Your solution must include case logic and looping logic. Your solution must include 5 parts in addition to the coded solution.
A problem analysis chart with sections for given information, required results, processing required to obtain the results, and solution alternatives
A flowchart showing the program processing flow
A chart showing input, output, and processing
An algorithm in pseudocode describing the steps the program will perform
A written description of how you addressed each of the six problem-solving steps
Please submit a zip file with 1 program, algorithm, 3 charts, and 1–2 paragraphs
The above problem is coded using C programming language. Dear student, try going... View the full answer
This question was asked on May 26, 2010 and answered on May 28, 2010.
Recently Asked Questions
- Everything We Had - Albert Santoli -True or False? An American soldier in the book says that the Vietnamese “mistakenly” thought that Ho Chih Minh
- Please refer to the attachment to answer this question. This question was created from ET4560 Instructor Lab Manual. Additional comments: "Please assist I have
- Hands on Activity 3-1 The manager of an electronics appliance store has asked you to develop a class to help in tracking inventory for TVs. Variables include