[SOLVED] Lab #06 Flowchart

15.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (3 votes)
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
Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.