MrGoodyear812
2010-05-04 08:23:44 UTC
1. Reads the sentence from the file Text1.txt and display it on the screen.
2. Counts the number of characters of the sentence (including the whitespaces, but excluding the terminating NULL) and displays such information.
3. Replaces the original sentence in Text1.Txt with the reversed sentence (i.e “the cat is on the table” with “elbat eht no si tac eht”) and saves the updated file Text1.txt.
NOTE: Every file must be explicitly opened and then closed immediately after the read/write operations.
i was thinking if there was a way to save it as an array i could do it
or am i just super confused....
HELP!
thanks in advance