Question: RAPTOR PROGRAM NEEDED WITH SNAP SHOT OF COMPLETED RAPTOR PROGRAM COSC 1436 Lab #06 Flowchart Write a Raptor program that computes how many meters an
COSC 1436 Lab #06 Flowchart Write a Raptor program that computes how many meters an object falls in 1 second, 2 seconds, etc., up to 15 seconds. Your program must: 1. Have a procedure called Falling Distance which has one input parameter, seconds, and one output parameter, distance, 2. Compute the distance in meters an object falls using this formula: gt? (where g -9.81) 3. The main program should call Falling Distance within a loop which passes the values through 15 as arguments, 4. Print a table with seconds and falling distance in meters. 5. The seconds and distance should be output from within the loop in main Test your program to make sure it works properly. Make sure your name is in a comment inside the program and then upload just the rap file Sample Output (This program has no input) Seconds Distance 4.9050 19.6200 44.1450 78.400 122.6250 176 5800 240.3450 313.9200 399.00 490 SO 3915050 2010 50 9 10 11 12 14 ES 1103 6350 TOPM
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
