Use Raptor to create a flowchart to solve each problem. Be sure to output your answers
Note: Save each part separately
Part 1
A rocket ship travels at 3000 miles per hour. If it travels for 5.44 hours, how far did it travel?
Use 2 constants and do the multiplication inside your flowchart.
Save your flowchart as a raptor file (*.rap) named “Test2part1”. Submit.
Part 2
A man sells computer battery for $24.45 per battery.
Input the number of batteries he sold on a particular day, a number of your choice. Calculate and display the total cost for the batteries.
Save your flowchart as a raptor file (*.rap) named “Test2part2”. Submit.
Part 3
Assign 45 into the variable num1
Assign 65 into the variable num2
Assign 22 into the variable num3
Use selection symbols to do the following:
If num1 is greater than 5, output num1 is greater than 5; otherwise output num1 is not greater than 5.
If num2 is not equal to 65, output num2 does not equal to 65; otherwise output num2 equals to 65.
If num3 is less than num1, output num3 is less than num1; otherwise output num3 is not less than num1.
Save your flowchart as a raptor file (*.rap) named “Test2part3”. Submit.
Part 4
A fishing shop sells lures at $5 apiece. If a customer buys less than 5 lures there is a $3 surcharge. If the customer buys more than 10 lures they get a $7 discount.
Input the number of lures he sold; then calculate and display the total cost of the lures.
Note: be sure to increment or decrement the cost when doing the surcharge or discount. Don’t create separate variables for surcharge or discounts.
Save your flowchart as a raptor file (*.rap) named “Test2part4”. Submit.
Previous Next