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:20
Acertain flow of air (at stp) has a velocity distribution given by v i (in ft/s). if this flow is going through a 4 ft square area in the yz-plane (centered at the origin), what is the mass flow rate (in lbm/s)?
Answers: 2
question
Engineering, 04.07.2019 18:20
Air flows over a heated plate àt a velocity of 50m/s. the local skin factor coefficient at a point on a plate is 0.004. estimate the local heat transfer coefficient at this point.the following property data for air are given: density = 0.88kg/m3 , viscosity 2.286 x 10 ^-5 kgm/s , k = 0.035w/mk ,cp = 1.001kj/kgk. use colburn reynolds analogy.
Answers: 1
question
Engineering, 06.07.2019 03:10
Different between right hand turning tool and left hand turning tool ?
Answers: 1
question
Engineering, 06.07.2019 04:10
An inventor claims to have developed a reversed heat engine (ie. a heat pump) which is able to deliver 10 kj heat into the room at 20°c from outside ambient temperature of -10°c by consuming only 2 kj electricity in winter. this claim is a)-impossible b)-possible only if the heat pump is ideal c)-practically possible d)-unable to be assessed as it depends on the working fluid used in the heat pump.
Answers: 2
You know the right answer?
Ascii (american standard code for information interchange)
in this program you will use skills...
Questions
question
Mathematics, 09.12.2021 19:50
question
Physics, 09.12.2021 19:50
question
Mathematics, 09.12.2021 19:50
question
Mathematics, 09.12.2021 19:50
Questions on the website: 13722361