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, 03.07.2019 14:10
Amass of 1.5 kg of air at 120 kpa and 24°c is contained in a gas-tight, frictionless piston-cylinder device. the air is now compressed to a final pressure of 720 kpa. during the process, heat is transferred from the air such that the temperature inside the cylinder remains constant. calculate the boundary work input during this process.
Answers: 2
question
Engineering, 04.07.2019 18:10
What difference(s) did you notice using a pneumatic circuit over hydraulic circuit.explain why the pneumatic piston stumbles when it hits an obstacle.
Answers: 2
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 19:10
What is creep? what is stress relaxation?
Answers: 1
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, 11.12.2019 17:31
Questions on the website: 13722363