subject

Write a program called lab5.c which will prompt the user to enter a single letter or number on the keyboard. If the user enters a lower case letter, the program will print out the same letter as a capital letter. If the user enters a capital letter, the program will print out the same letter in lower case. If the user enters an even number, the program will print out a message saying that it is an even number. If the user enters an odd number, the program will print out a message saying that it is an odd number. If the user enters anything that is not a letter or a number, the program will print out a message indicating that they entered an invalid character. Once you get that working, make the program loop continually, asking the user if they want to go again, using a 1 for yes and a 0 for no. If they enter a 1, then they will be prompted to enter a single letter or number on the keyboard again, displaying the results explained above. If they enter a 0, then the program will quit. With this loop added, your output should look similar to the following: Enter a letter or number from the keyboard. d The upper case of that letter is: D. Would you like to go again? Enter 1 for yes, 0 for no. 1 Enter a letter or number from the keyboard. R The lower case of that letter is: r. Would you like to go again? Enter 1 for yes, 0 for no. 1

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:00
1. you have a small business that is divided into 3 departments: accounting, sales, and administration. these departments have the following number of devices (computers, printers, etc.): accounting-31, sales-28, and administration-13. using a class c private network, subnet the network so that each department will have their own subnet. you must show/explain how you arrived at your conclusion and also show the following: all available device addresses for each department, the broadcast address for each department, and the network address for each department. also, determine how many "wasted" (not usable) addresses resulted from your subnetting (enumerate them).
Answers: 3
question
Computers and Technology, 23.06.2019 12:50
Which syntax error in programming is unlikely to be highlighted by a compiler or an interpreter? a variable name misspelling a missing space a comma in place of a period a missing closing quotation mark
Answers: 1
question
Computers and Technology, 24.06.2019 19:30
Can someone who is skilled at coding create me a java chess game. don't copy from online source codes. make it original ! : d
Answers: 1
question
Computers and Technology, 25.06.2019 04:10
This might be a bit off-topic, but i'm having trouble with a certain arg made by game theory. if there are any theorists out there that wanna , it would be appreciated!
Answers: 2
You know the right answer?
Write a program called lab5.c which will prompt the user to enter a single letter or number on the k...
Questions
question
Chemistry, 03.02.2020 05:45
question
English, 03.02.2020 05:45
question
Social Studies, 03.02.2020 05:45
Questions on the website: 13722367