Question: Programming Logic and Design, Comprehensive Program Life Cycle (Industry way) 1. Analyzing the problem 2. Design the Flowchart logic 3. Write the Code 4. Test
Programming Logic and Design, Comprehensive
Program Life Cycle (Industry way) 1. Analyzing the problem 2. Design the Flowchart logic 3. Write the Code 4. Test and debug the program
Your assignment will allow you to apply your knowledge of logic syntax, understanding a program problem, and its development cycle,
Construct an algorithm/program that solves the following problem:
Write a Simple Sequence program using only step #1 & #2 of the Program Development Life Cycle (Analyze the problem and Design Flowchart) to solve the following problem.
The Problem:
John Doe is taking a math class this semester. He wants to design a program that will help him to understand the circumference of a circle.
Use appropriate user input prompt to allow the user to enter in the radius of the circle. Compute the diameter and circumference.
Display the appropriate output message showing the values for the radius, diameter, and circumference.
Use syntax that goes inside an I/Osymbol.
Good attention to declaring variables, prompting the user for inputting data, as well as displaying output.
Give good attention to the syntax that goes inside an I/O symbol.
Also, you must remember to give attention to declaring variables, prompting the user for inputting data, as well as displaying output.
Example of a problem and listing your variables:
The problem:
Design a logic to compute the average of Mr. Doe final grade after taking three exams. Use the four PDLC steps which the instructor has indicated.
studname ....... studname means the name of the student
smj ....... smj means the student major
fgrade ....... fgrade means the final grade. The fgrade is
calculated as (test1 + test2 + test3) / 3
test1 ....... test number 1
test2 ....... test number 2
test3 ....... test number 3
Develop your data file (if needed).
A. Go down each variable listed and ask yourself Does someone input variable value or Do I have to calculate/determine it?
a) If they provide it to you, then show it in the data file.
if you have to calculate it, then do not show it in the data file.
Draw a data file: Beginning in Chapter 1 through Chapter 3, the data file must goes across
Example of a data file: Date File
studname smj test1 test2 test3 Ted doe Computer Sci 75.00 80.00 90.00
Step #2 Develop the Flowchart


Thank you.
start Declarations string name num balance start Declarations utput "Please enter customer' name" string name num balance output "Please enter customer's name" input name output "Please enter balance due for ", name input balance input name output "Please enter balance due for", name input balance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
