subject
Engineering, 05.05.2021 21:00 TamB01

For each of the problems write a CH code to perform the required task. Your program should be based on the flow chart you drawn in the first worksheet.
1) Receive a number and determine whether it is odd or even
2) Obtain two numbers from the keyboard, and determine and display which (if either) is the
larger of the two numbers,
3) Receive 3 numbers and display them in ascending order from smallest to largest
4) Add the numbers from 1 to 100 and display the sum
5) Add the even numbers between 0 and any positive integer number given by the user
6) Find the average of two numbers given by the user.
I
7) Find the average, maximum, minimum, and sum of three numbers given by the user.
8) Find the area of a circle where the radius is provided by the user.
9) Swap the contents of two variables using a third variable.
10) Swap the content of two variables without using a third variable.
11) Read an integer value from the keyboard and display a message indicating if this
number is odd or even.
12) read 10 integers from the keyboard in the range 0 - 100, and count how many of them are
larger than 50, and display this result​

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Aplate clutch has a single pair of mating friction surfaces 250-mm od by 175-mm id. the mean value of the coefficient of friction is 0.30, and the actuating force is 4 kn. a) find the maximum pressure and the torque capacity using the uniform-wear model. b) find the maximum pressure and the torque capacity using the uniform-pressure model.
Answers: 3
question
Engineering, 04.07.2019 18:10
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:20
Steam enters a converging nozzle at 3.0 mpa and 500°c with a at 1.8 mpa. for a nozzle exit area of 32 cm2, determine the exit velocity, mass flow rate, and exit mach number if the nozzle: negligible velocity, and it exits (a) is isentropic (b) has an efficiency of 94 percent
Answers: 2
question
Engineering, 04.07.2019 18:20
Wiy doeres rere okhn a pump whon working betwon the same pressure range?
Answers: 2
You know the right answer?
For each of the problems write a CH code to perform the required task. Your program should be base...
Questions
question
Mathematics, 05.01.2021 08:20
question
Mathematics, 05.01.2021 08:20
question
English, 05.01.2021 08:20
Questions on the website: 13722362