Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

clare all variables. Print Hello my name is (add your name here) onto the screen. Prompt the user for a letter. Scan/read the character from

image text in transcribed
clare all variables. Print "Hello my name is (add your name here)" onto the screen. Prompt the user for a letter. Scan/read the character from the keyboard. NOTE: you do not need to force the user to enter a letter, it is ok for the user to e o character (number, symbol, etc.) //EXAMPLE: char upperletter toupper(first_letter); NOTE: ifthe user entered an uppercase letter you will print 2 uppercase letters on Change the letter to uppercase . .Print both the original letter andthe uppercase letter onto the screen. o Prompt the user for a second letter. Scan/read the letter from the keyboard. NOTE: you do not need to force the user to enter a letter, it is ok for the user to en character (number, symbol, etc) Change the letter to lowercase . //EXAMPLE: char lowerLetter tolower (second_letter); .Print both the original letter and the lower-case letter onto the screen. NOTE: if the user entered a lower-case letter you will print 2 lower-case letters on o Prompt the user for an integer //Example: int number Scan/r . Prompt the user for a double //Example: double second number ead the integer from the keyboard (assume the user will enter an integer) Scan/read the double from the keyboard (assume the user will enter a double) . Add the integer (number) to the double (second number) and store that result in a double //Example double result; Print the result onto the screen

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

14-18 Compare the two major types of planning and control tools.

Answered: 1 week ago