Question: a- B01 - Give me my euros! Write a program in Raptor to transform EUROS amounts in USDs. The program will ask the user for

a-B01 - Give me my euros!

Write a program in Raptor to transform EUROS amounts in USDs. The program will ask the user for the amount in EUROS he/she wants to transform to USDs, and then make the math to express it in USDs. For this exercise, consider the conversion rate:

1 EURO = 1.221277 U.S. dollars

?b-

B02 Crossing the planet

We need a Raptor application to measure in km the distance a traveler must do to travel between two points. The problem is that the imperial system uses both land and maritime miles, which conversion rate to kms differ. Therefore, the program must:

Ask for land miles to cross

Ask for maritime miles to cross

Convert both in kms and sow the total amount to the user.

Consider that the conversion rate for land and maritime miles are:

1 km = 1.60934 land miles

1 km = 1.852 maritime miles

?c-

B03 - Converting Temperatures

Write a program which will ask the user to input a floating point number corresponding to a temperature. We will assume the temperature was in Celsius degrees and display its equivalent in Fahrenheit degrees after computing it using the following formula

Fahrenheit = ( 9.0 / 5.0 ) * Celsius + 32

Now, write another version which assumes the data was in Fahrenheit degrees and needs to compute its Celsius degrees equivalent using the following formula;

Celsius = ( 5.0 / 9.0 ) * (Fahrenheit - 32)

?d-

Write a program in Raptor that asks the user about the amount of dollars he/she needs and calculates the optimal set of bills of 20, 10, 5 and 1 dollars to reach the given amount. That is, for an amount of 138 $, the answer of the application should be:

Your change is 6 bills of 20$, 1 bills of 10$, 1 bills of 5$ and 1 bills of 1$

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!