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

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, DestyHilBan1183
Adouble-strand no. 60 roller chain is used to transmit power between a 13-tooth driving sprocket rotating at 300 rev/min and a 52-tooth driven sprocket. a) what is the allowable horsepower of this drive? b) estimate the center-to-center distance if the chain length is 82 pitches. c) estimate the torque and bending force on the driving shaft by the chain if the actual horsepower transmitted is 30 percent less than the corrected (allowable) power.
Answers: 3
image
Engineering, 04.07.2019 18:20, CelesteN64
Most leaks in reciprocating air compressors can be detected and minimized by: (clo4) a)-detecting leakage areas using ultrasonic acoustic detector. b)-tightening joints and connections c)-replacing faulty equipment d)-all of the given options
Answers: 2
image
Engineering, 04.07.2019 19:10, gabigalvis1091
What is the main objective of using reheat rankine cycle?
Answers: 3
image
Engineering, 04.07.2019 19:10, jennymares
Abarometer contains mercury with a density of 13600 kg/m3. atmospheric conditions are 95.8 kpa and 20 °c at 20 °c, the vapor pressure of the mercury is 0.000173 kpa. the column of mercury will rise to a height of most nearly. select one: a)- 0.38 m b)- 0.82 m c)- 0.48 m d)- 0.72 m
Answers: 1
You know the right answer?
Ascii (american standard code for information interchange)
in this program you will use skills...

Questions in other subjects:

Konu
Mathematics, 22.10.2020 21:01
Konu
Mathematics, 22.10.2020 21:01
Konu
Mathematics, 22.10.2020 21:01