Question: Write a program that prompts the user for his name and average monthly visa bill. The program displays his name and his annual visa

Write a program that prompts the user for his name and average

 monthly visa bill. The program displays his name and his annual visabill. You must match the format below EXACTLY (including spaces, uppercase andlowercase). For example, if the user enters "Justin Bieber" as the name

Write a program that prompts the user for his name and average monthly visa bill. The program displays his name and his annual visa bill. You must match the format below EXACTLY (including spaces, uppercase and lowercase). For example, if the user enters "Justin Bieber" as the name and "1000" as the monthly visa bill: What is the name? Justin Bieber What is the monthly Visa Bill? 1000 Name: Justin Bieber Annual Visa Bill: $12,000.00 Hint: annual bill = monthly bill * 12 EXERCISE #3 - 6 Marks. Write a program that prompts the user for a letter. The program prints the letter and the number equivalent. The number equivalent is obtained by casting the char to an int. You must read in the input as a CHAR and you MUST do an explicit conversion using ToChar(). You must match the format EXACTLY (including spaces, uppercase and lowercase). For example, if the use enters "a": Enter the letter: a Char: a Number Equivalent: 97 Hint: Use ToChar() and Toint32() to help you with the required conversions. EXERCISE #4 - 14 Marks. Write a program that prompts the user for her home planet. Please check the following 3 examples. Based on the user's input the program will display the following: Example 1: If the user enters: earth The output message should be: earth. You are an Earthling and you have 10 toes Example 2: -If the user enters: VENUS The output message should be: VENUS. You are a Venusian and you have 12 toes Example 3: -If the user enters: Mercury -The output message should be: Mercury. You are a Mercurian and you have 8 toes With any other input, the output message should be: I am sorry I don't know of that planet You may use either the Toupper() or Tolower() methods You MUST USE ONLY A SWITCH statement to solve this problem [For full marks you need to accept all permutations of earth, venus and mercury, for example: "Earth", "eARTh", "VenuS", "MERCU "Mercury"] EXERCISE #5 -12 Marks. Write a program that prompts the user for her home planet. Based on the user's input the program will display the following: Example 1: If the user enters: earth The output message should be: earth. You are an Earthling and you have 10 toes Example 2: -If the user enters: VENUS The output message should be: VENUS. You are a Venusian and you have 12 toes Example 3: If the user enters: Mercury The output message should be: Mercury. You are a Mercurian and you have 8 toes With any other input, the output message should be: I am sorry I don't know of that planet You may use either the Toupper() or Tolower() methods. You MUST USE A NESTED IF statement to solve this problem [For full marks you need to accept all permutations of earth, venus and mercury, for example: "Earth", "eARTh", "Venus", "MERCUry", "Mercury"] Notes: About plagiarism and copying, please review this video: https://youtu.be/JWpo2Y6eceY - Students that get caught copying will be graded "0" Zero, both the person who provided the answers and person who got the answers. EXERCISE #1 -8 Marks. Write a program that displays the name and address of your college. You must match the format below EXACTLY (including spaces, uppercase and lowercase): Centennial College Address: 941 Progress Ave, Scarborough, ON M1G 3T8 Note: No user input is required.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here are the solutions for your exercises EXERCISE 1 using System class Program static void Main Con... 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!