subject
Engineering, 18.09.2019 22:00 meth77

Ascii (american standard code for information interchange)
in this program you will use skills from prog2:
 printf, scanf, and simple math
 type casting (char to integer)
new skills for prog3
 conditions (decisions in program flow, example: if/ else if/ else)
 type casting (integer to char)
you will need to use functions from: #include //printf, scanf
instructions:
declare all variables.
 print “hello, welcome to the number letter converter” onto the screen.
 ask the user if they would like to create a letter from a number (enter 1)
or a number from a letter (enter 2)
 get the choice from the user (1 or 2)
 you may assume the user will enter an integer for the choice
 if the user enters a 1 ask and get another number from the user
 create a letter from that number
//example: char letter = (char)inputnumber;
 add 10 to the number that was entered
 change the new number to a letter
 print all 4 onto the screen (2 numbers and 2 letters)
 if the user enters a 2 ask and get a letter (character) from the user
 create a number from that letter
//example: int number = (int)inputletter;
 add 15 to the number that was just created
 change the new number to a letter
 print all 4 onto the screen (2 numbers and 2 letters)
 if the user enters any number other than 1 or 2 print the message “ enter a 1 or 2” onto the

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 08:10
Which of the following is an easy way to remember the modified “x” tire rotation? a. nondrive wheels straight, cross the drive wheels b. drive wheels straight, cross the nondrive wheels c. drive wheels crossed, nondrive wheels straight d. drive wheels crossed, nondrive wheels crossed
Answers: 1
question
Engineering, 04.07.2019 18:10
Which of the following refers to refers to how well the control system responds to sudden changes in the system. a)-transient regulation b)- distributed regulation c)-constant regulation d)-steady-state regulation
Answers: 1
question
Engineering, 04.07.2019 18:20
Apiston-cylinder device contains 0.1 m3 of liquid water and 0.9 m3 of water vapor in equilibrium at 800 kpa. heat is transferred at constant pressure until the temperature of water reaches 350 °c. determine (a) the quality of water at the initial state (b) the work associated with this process, (c) the heat associated with this process.
Answers: 2
question
Engineering, 04.07.2019 18:20
Aheavily insulated piston-cylinder device contains 0.02 m3 of steam at 300 kpa and 200 °c. 1.2 mpa. d this process. team is now compressed in a reversible manner to a pressure of etermine the entropy change and the work done on the steam during this process
Answers: 1
You know the right answer?
Ascii (american standard code for information interchange)
in this program you will use skills...
Questions
question
Mathematics, 03.03.2021 01:20
question
Mathematics, 03.03.2021 01:20
question
Mathematics, 03.03.2021 01:20
question
Mathematics, 03.03.2021 01:20
question
Mathematics, 03.03.2021 01:20
question
English, 03.03.2021 01:20
Questions on the website: 13722367