Starting from:

$15

Lab #06 Flowchart Solved

Write a program that computes how many feet an object falls in 1 second, 2 seconds, etc., up to 12 seconds.First create a Raptor flowchart. For this assignment you will need to switch to intermediate mode.Your Raptor program should:
1. Have a procedure called FallingDistance which has one input parameter, seconds, and one output parameter, distance.
2. Compute the distance in feet an object falls using this formula: d = ½ gt2 (where g = 32.2)
3. The main program should call FallingDistance within a loop which passes the values 1 through 12 as arguments.
4. Print a table with seconds and falling distance in feet.Once your Raptor flowchart executes correctly, upload your .rap file. Make sure your name is ***** ***** flowchart in a comment.
Sample Output (This program has no input)
Seconds Distance
================
1 16.1000
2 64.4000
3 (###) ###-####4 (###) ###-####5 (###) ###-####6 (###) ###-####7 (###) ###-####8 1030.4000
9 1304.1000
10 1610
11 1948.1000
12 2318.4000

More products