Question: -Write in C# Pick at least 5 countries, research their populations and capitals. Request the name of the country from the user, then using a
-Write in C# Pick at least 5 countries, research their populations and capitals. Request the name of the country from the user, then using a switch display the population and the capital of the entered country.
-Write a loop to add all the consecutive integers between 5 and 45 except the 12, 25, and 40. Display the final sum.
-A store sells two items (Item1 and Item2). Item1 is priced at $3.95 and Item2 is priced at $2.50. Request from the user the quantity of Item1 purchased and the quantity of Item2 purchased. Calculate item1subtotal, item2Subbotal, subtotals, tax and total. Display all. (tax is 9.8% or 0.098)
-Write a program that allows the user 13 tries to answer the question: Which U.S. President was born on July 4? After 5 incorrect guesses the program should give the hint: He once said, if you dont say anything, you wont be called upon to repeat it. . After 10 incorrect guesses, the program should give the hint His nickname was Silent Cal.. Note: Calvin Coolidge was born on July 4, 1872.
-Request two values from user N and M, where N is the number of stars per line and M is the number of rows (lines) Display as many rows and columns of stars
-Create an array of doubles and initialize it with the following values: -3.5, 2.3, 5.9, -6.9, -12.1, 15.6, 4.7, -3.8, -17.3, -11.4, 12.6, 19.9
-Write a statemenent to change the fifth element to the new value: 16.9
-Write a statement to decrease the last element by 3.7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
