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 18:10
Aflywheel accelerates for 5 seconds at 2 rad/s2 from a speed of 20 rpm. determine the total number of revolutions of the flywheel during the period of its acceleration. a.5.65 b.8.43 c. 723 d.6.86
Answers: 2
question
Engineering, 04.07.2019 18:10
Different types of steels contain different elements that alter the characteristics of the steel. for each of the following elements, explain what the element does when alloyed with steel.
Answers: 2
question
Engineering, 04.07.2019 19:20
Acarnot refrigerator operates in a room in which the temperature is 21°c and of power when operating. if the food compartment of the refrigerator is consumes 3 kw to be maintained at 2°c, determine (a) the coefficient of performance of the cycle and (b) the rate of heat removal from the food compartment. refrigerator cycle that has a higher coefficient of performance than that of the discussed (e) is it possible to develop a carn ot refrigerator, operating between the same temperature limits? explain
Answers: 2
question
Engineering, 05.07.2019 04:30
Technician a says that in a worm gear steering system, most excessive steering free play is usually found in the gearbox. technician b says that in a rack-and-pinion steering system, excessive free play can be found in the bushings. who is correct?
Answers: 2
You know the right answer?
Ascii (american standard code for information interchange)
in this program you will use skills...
Questions
question
Health, 04.11.2019 23:31
question
History, 04.11.2019 23:31
question
Social Studies, 04.11.2019 23:31