subject
Engineering, 22.02.2020 02:26 csnider

C Write a program that will evaluate simple expressions such as 17 3 and 3.14159 * 4.7. The expressions are to be typed in by the user. The input always consists of a number, followed by an operator, followed by another number. The operators that are allowed are , -, *, and /. (Hint: treat the operators as strings). Your program should read an expression, print its value, read another expression, print its value, and so on. The program should end when the user enters 0 as the first number on the line.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Afluid flows with a velocity field given by v=(x/t)i.. determine the local and convective accelerations when x=3 and t=1.
Answers: 2
question
Engineering, 04.07.2019 18:10
Water at the rate of 1 kg/s is forced through a tube with a 2.5 cm inner diameter. the inlet water temperature is 15°c, and the outlet water temperature is 50°c. the tube wall temperature is 14°c higher than the local water temperature all along the length of the tube. what is the length of the tube?
Answers: 3
question
Engineering, 04.07.2019 18:20
Modern high speed trains do not have perpendicular expansion gaps where rails are joined end-to-end any more they are mostly welded together but what might happen if there was a spell of particularly hot weather that causes inspection of the tracks?
Answers: 1
question
Engineering, 04.07.2019 19:10
Asteel wire of 2 mm diameter is fixed between two points located 2 m apart. the tensile force in the wire is 250n, if its density of steel is given by 7830 kg/m3 the fundamental frequency of vibration hz? ?
Answers: 3
You know the right answer?
C Write a program that will evaluate simple expressions such as 17 3 and 3.14159 * 4.7. The expressi...
Questions
question
Mathematics, 17.07.2021 08:30
question
Mathematics, 17.07.2021 08:30
question
Chemistry, 17.07.2021 08:40
question
Mathematics, 17.07.2021 08:40
question
Mathematics, 17.07.2021 08:40
question
Computers and Technology, 17.07.2021 08:40
question
Computers and Technology, 17.07.2021 08:40
Questions on the website: 13722360