The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 1 Day Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Overview In. C++ design program that creates a text file and stores a series of numbers entered by the user. The program then analyzes this file. Instructions For this programming challenge, you will write a program that creates and analyzes a text file. Your program must perform the following functionality: Your program should first ask the user how many numbers they would like to store and then allows the user to enter the series of numbers that will be stored in a file called numbers.txt. This should be accomplished with a loop that obtains a number and stores the number on each iteration. Your program should then display the numbers stored in the file. You should also calculate and display the sum of the numbers in the file. Once the count and the sum have been determined, Display the average of those numbers.
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly