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
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
You are making beer. the first step is filling the glass carboy with the liquid wort. the internal diameter of the carboy is 15 in., and you wish to fill it up to a depth of 2 ft. if your wort is drawn from the kettle using a siphon process that flows at 3 gpm, how long will it take to fill?
Answers: 1
question
Engineering, 04.07.2019 18:10
Ifa component is made of two or more materials with different modulus of elasticity (e), it is called a composite member and we calculate the factor·n". mention the formula for calculating n". also, ifn> 1, explain what will happen to the 1. transformed.gi) ifn 1, what will happen to the material when transformed material when
Answers: 1
question
Engineering, 04.07.2019 18:20
An engine runs on the ideal diesel cycle. the cycle has a compression ratio of 20 and a cutoff ratio of 2. the highest temperature in the cycle is 1200 k. if the heat into the system is 300 kj/kg of working fluid and using variable specific heats determine the work produced per mass of working fluid
Answers: 3
You know the right answer?
Ascii (american standard code for information interchange)
in this program you will use skills...
Questions
question
Social Studies, 01.09.2020 23:01
Questions on the website: 13722367