Question: 1 ] File with floatsRead from the user float numbers ( maximum 1 0 , use an array ) . Stop reading when the user
File with floatsRead from the user float numbers maximum use an array Stop reading when the user introduces a negative number.Write the numbers to the text file numbers.txt text fileNext create another program to read the numbers variable size, use feof functionThe numbers must be averaged. Display the average Add the countSuppose you have a text file like this:Alice in ChainsYellow SubmarineThe show must go onWhere the first number indicates the number of lines can be a different numberMake 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:Alice in ChainsYellow SubmarineThe show must go onThe lines have letters. Use Codeblocks please not C
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
