Question: Create an interactive program that will: Greet the user. Get a letter from an input file (input.txt) and print it to the screen. Change the

Create an interactive program that will:

Greet the user. Get a letter from an input file (input.txt) and print it to the screen. Change the letter to lowercase. Find the numerical ASCII value and print it to the screen. Change the letter to uppercase. Find the numerical ASCII value and print it to the screen. // EXAMPLE: //char letter = 'x'; //int number = (int)letter; Using an if/else statements, determine which is larger numerically and output the result to the screen. Ex. The lowercase is larger or The uppercase is larger. Get an integer from the input file (input.txt) and print it to the screen. Ask and get an integer from the user. Save the integer to a new file called result.txt Calculate the sum of the integer from the file and the integer from the user. Print the result onto the screen. Save the sum to result.txt Ask and get a double from the user. Multiply the double that was entered by the user and the sum that was calculated from step 11. Print the result onto the screen. Save to result.txt

Be sure to save the input.txt file in the same directory as your source code (.c file) in your Z drive. Your output file result.txt should have 3 values. The integer from the user The sum of the integer from the user and the integer from the file The result of the multiplication of the sum (step 11) and the double received from the user (step 14)

(In c+)(Visual studio)

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!