Mathematics
Mathematics, 08.11.2019 20:31, tstaples02

The attached file contains a long list of random numbers (random. txt). 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:

answer
Answers: 2

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 16:20, elkinsmarie88oyzd23
What are the soultion(s) to the quadratic equation 40- x^2=0
Answers: 1
image
Mathematics, 21.06.2019 21:30, Travon6524
Ten members of balin's soccer team ran warm ups for practice. each member ran the same distance. their combined distance was 5/6 of a mile. to find the distance that each member ran, balin wrote the expression below.
Answers: 3
image
Mathematics, 21.06.2019 22:40, winterblanco
Use this graph to find the cost of 6 show tickets
Answers: 1
image
Mathematics, 22.06.2019 00:00, ash3246
The weight of a full steel bead tire is approximately 800 grams, while a fighter wheel weighs only 700 grams. what is the weight of each tire in pounds?
Answers: 1
Do you know the correct answer?
The attached file contains a long list of random numbers (random. txt). 1. copy the file to your har...

Questions in other subjects: