Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using C Language Declare all variables. Print Hello my name is (add your name here) onto the screen. Prompt the user for a letter. Scan/read

Using C Language

image text in transcribed
Declare 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 enter any character (number, symbol, etc.) Change the letter to lowercase //EXAMPLE: char lowerLetter - tolower(first_letter); Print both the original letter and the lowercase letter onto the screen. NOTE: if the user entered a lowercase letter you will print 2 lowercase letters onto the screen 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 enter any character (number, symbol, etc.) Change the letter to uppercase //EXAMPLE: char upperletter - toupper(second_letter); Print both the original letter and the uppercase letter onto the screen. NOTE: if the user entered an uppercase letter, you will print 2 uppercase letters onto the screen Prompt the user for a double //Example: double input Scan/read the double from the keyboard (assume the user will enter a double) Prompt the user for an integer //Example: int second_input Scan/read the integer from the keyboard (assume the user will enter an integer) Multiply the double and the integer that were just entered and store the product in a double //Example double product; Print the all three numbers (double input, integer second input, and the product) onto the screen NOTE: You are not required to use the variable names in the assignment description

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_2

Step: 3

blur-text-image_3

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

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

Students also viewed these Databases questions

Question

What does it mean when you use the final modifier for a class?

Answered: 1 week ago