Question: 1.) Write a RAPTOR program that asks the user to enter 4 numbers. After each number, output two numbers: double and half of the

1.) Write a RAPTOR program that asks the user to enter 4 


1.) Write a RAPTOR program that asks the user to enter 4 numbers. After each number, output two numbers: double and half of the number entered by the user. Hint: In RAPTOR, multiplication is accomplished using the star ( * ) character, and division uses the slash (/). Sample run (user input in blue, master console output shown in orange): Enter a number: 1 Double your number: 2 Half your number: 0.5000 Enter a number: 4 Double your number: 8 Half your number: 2 Enter a number: 15 Double your number: 30 Half your number: 7.5000 Enter a number: 10.5 Double your number: 21 Half your number: 5.2500

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here is a sample program written in RAPTOR that asks the u... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!