Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can anyone help me with this program? do it on c pls. For input.txt use ...q...23. Create an interactive program that will Greet the user.
Can anyone help me with this program? do it on c pls. For input.txt use ...q...23.
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 II EXAMPLE: //char letter'x //int number(int)letter; Using an if/else statements, determine which is larger numerically and output the result to the creen 1. 2. 3. 4. 5. 6. 7. a. Ex. "The lowercase is larger" or "The uppercase is larger". 8. Get an integer from the input file (input.txt) and print it to the screen 9. Ask and get an integer from the user. 10. Save the integer to a new file called "result.txt" 11. Calculate the sum of the integer from the file and the integer from the user. 12. Print the result onto the screen 13. Save the sum to "result.txt" 14. Ask and get a double from the user. 15. Multiply the double that was entered by the user and the sum that was calculated from step 11 16. Print the result onto the screen 17. 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 o The integer from the user o The sum of the integer from the user and the integer from the file o The result of the multiplication of the sum (step 11) and the double received from the user (step 14)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started