Reference no: EM132107842
Programming Excercises. Chapter 2 page 97-99 Microsoft Visual C# 2015
Write a program named Dollars that calculates and displays the conversion of an entered number of dollars into currency denominations-20s, 10s, 5s, and 1s.
Create an enumeration named Month that holds values for the months of the year, starting with JANUARY equal to 1. Write a program named MonthNames that prompts the user for a month integer. Convert the user's entry to a Month value, and display it.
Create an enumeration named Planet that holds the names for the eight planets in our solar system, starting with MERCURY and ending with NEPTUNE. Write a program named Planets that prompts the user for a numeric position, and display the name of the planet that is in the requested position.
Pig Latin is a nonsense language. To create a word in pig Latin, you remove the first letter and then add the first letter and "ay" at the end of the word. For example, "dog" becomes "ogday" and "cat" becomes "atcay." Write a program named PigLatin that allows the user to enter a word and displays the pig Latin version.
In Chapter 1, you created two programs to display the motto for the Greenville Idol competition that is held each summer during the Greenville County Fair.
Now write a program named GreenvilleRevenue that prompts a user for the number of contestants entered in last year's competition and in this year's competition.
Display all the input data. Compute and display the revenue expected for this year's competition if each contestant pays a $25 entrance fee. Also display a statement that indicates whether this year's competition has more contestants than last year's.