subject
Engineering, 08.11.2019 19:31 kibyrd14

1. copy the file to your hard drive. 2. then write a program that asks user to enter the file name to open and validates that the file is successfully open. 3. once the user opens the file (random. txt) successfully, your program should calculate the following: (the output should be in the following format) a) the number of even numbers in the file: b) the number of odd numbers in the file: c) the number of numbers in the file: d) the sum of all the numbers in the file: e) the average of all the numbers in the file:

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Give heat transfer applications for the following, (i) gas turbines (propulsion) ) gas turbines (power generation). (iii) steam turbines. (iv) combined heat and power (chp). (v) automotive engines
Answers: 1
question
Engineering, 04.07.2019 18:20
Along 8-cm diameter steam pipe whose external surface temperature is 900c connects two buildings. the pipe is exposed to ambient air at 70c with a wind speed of 50 km/hr blowing across the pipe. determine the heat loss from the pipe per unit length. (b) air at 500c enters a section of a rectangular duct (15 cm x 20 cm) at an average velocity of 7 m/s. if the walls of the duct are maintained at 100c. a) the length of the tube for an exit temperature of the air to be 40 0c. b)the rate of heat transfer from the air. c) the fan power needed to overcome the pressure drop in this section of the duct.
Answers: 1
question
Engineering, 04.07.2019 18:20
Aheavily insulated piston-cylinder device contains 0.02 m3 of steam at 300 kpa and 200 °c. 1.2 mpa. d this process. team is now compressed in a reversible manner to a pressure of etermine the entropy change and the work done on the steam during this process
Answers: 1
question
Engineering, 04.07.2019 19:20
The power source in a certain welding setup generates 3500w that is transferred to the low carbon steel work with a heat transfer factor of 0.85. the melting factor in the operation is 0.45. a continuous fillet weld is to be made with a cross-sectional area of 23 mm2 determine the travel speed at which the welding can be accomplished.
Answers: 3
You know the right answer?
1. copy the file to your hard drive. 2. then write a program that asks user to enter the file name t...
Questions
question
Mathematics, 10.11.2020 09:10
question
Mathematics, 10.11.2020 09:10
question
Chemistry, 10.11.2020 09:10
question
English, 10.11.2020 09:10
Questions on the website: 13722363