Question: 1. Write a program to convert US dollars to Canadian dollars You need to input the amount of amount of US dollars and use a
1. Write a program to convert US dollars to Canadian dollars You need to input the amount of amount of US dollars and use a conversion rate of 1 US dollar = 1.4 Canadian dollar. 2. Write a program to calculate the commission of a salesperson. You need to input the value of the sales for the employee. The commission is 10% of the sales. 3. Write a program to print the following on the screen - Your major 4. Write a program to calculate the mileage of a vehicle. You need to input the distance traveled and gas used to travel that distance. Mileage = distance traveled/gas used 1. Write a program to convert US dollars to Canadian dollars You need to input the amount of amount of US dollars and use a conversion rate of 1 US dollar = 1.4 Canadian dollar. 2. Write a program to calculate the commission of a salesperson. You need to input the value of the sales for the employee. The commission is 10% of the sales. 3. Write a program to print the following on the screen - Your major 4. Write a program to calculate the mileage of a vehicle. You need to input the distance traveled and gas used to travel that distance. Mileage = distance traveled/gas used 1. Write a program to convert US dollars to Canadian dollars You need to input the amount of amount of US dollars and use a conversion rate of 1 US dollar = 1.4 Canadian dollar. 2. Write a program to calculate the commission of a salesperson. You need to input the value of the sales for the employee. The commission is 10% of the sales. 3. Write a program to print the following on the screen - Your major 4. Write a program to calculate the mileage of a vehicle. You need to input the distance traveled and gas used to travel that distance. Mileage = distance traveled/gas used 1. Write a program to convert US dollars to Canadian dollars You need to input the amount of amount of US dollars and use a conversion rate of 1 US dollar = 1.4 Canadian dollar. 2. Write a program to calculate the commission of a salesperson. You need to input the value of the sales for the employee. The commission is 10% of the sales. 3. Write a program to print the following on the screen - Your major 4. Write a program to calculate the mileage of a vehicle. You need to input the distance traveled and gas used to travel that distance. Mileage = distance traveled/gas used
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
