subject
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:

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 14:50
Which expression is equivalent to 4 square root 6 divided by 3 root 2
Answers: 1
question
Mathematics, 21.06.2019 17:40
Find the value of ax 4 ; a = 2, x = 1. select one: a. 2 b. 4 c. 1 d. 8
Answers: 2
question
Mathematics, 21.06.2019 21:20
Paul’s car is 18 feet long. he is making a model of his car that is 1/6 the actual size. what is the length of the model?
Answers: 1
question
Mathematics, 21.06.2019 21:20
Rose bought a new hat when she was on vacation. the following formula describes the percent sales tax rose paid b=t-c/c
Answers: 3
You know the right answer?
The attached file contains a long list of random numbers (random. txt). 1. copy the file to your har...
Questions
question
English, 22.10.2020 17:01
question
History, 22.10.2020 17:01
question
Mathematics, 22.10.2020 17:01
question
Arts, 22.10.2020 17:01
question
Social Studies, 22.10.2020 17:01
Questions on the website: 13722361