Question: 1 ] File with floatsRead from the user float numbers ( maximum 1 0 , use an array ) . Stop reading when the user

1] File with floatsRead from the user float numbers (maximum 10, use an array). Stop reading when the user introduces a negative number.Write the numbers to the text file numbers.txt (text file).Next create another program to read the numbers (variable size, use feof() function).The numbers must be averaged. Display the average.2] Add the countSuppose you have a text file like this:3Alice in ChainsYellow SubmarineThe show must go onWhere the first number indicates the number of lines (can be a different number)Make a program to read the file for read, close he file, count the letters, open the file again to append, and write a message saying how many letters it has, so the file will end like this:3Alice in ChainsYellow SubmarineThe show must go onThe lines have 50 letters. Use Codeblocks please not C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!