subject

This program will read integers from a file and find results from these integers. open the file, test to make sure the file opened. use a loop to read the integers and process each integer as it is read. when end of file is reached, close the file. after all of the integers have been read and processed, print the results for the following output: the integer count: the sum of the integers: the smallest integer: the largest integer: the average of the integers: use notepad, vim, or other simple text editor to create a file named file1.txt containing the following, with one integer per line. test the program two times. use the following data in the first test: 11 9 18 22 27 33 21 for the second test add an additional line containing the number 40.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:30
Jane’s team is using the v-shaped model for their project. during the high-level design phase of the project, testers perform integration testing. what is the purpose of an integration test plan in the v-model of development? a. checks if the team has gathered all the requirements b. checks how the product interacts with external systems c. checks the flow of data in internal modules d. checks how the product works from the client side
Answers: 1
question
Computers and Technology, 22.06.2019 22:20
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
question
Computers and Technology, 23.06.2019 04:31
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
You know the right answer?
This program will read integers from a file and find results from these integers. open the file, tes...
Questions
question
Mathematics, 02.08.2019 19:50
question
Mathematics, 02.08.2019 19:50
Questions on the website: 13722365