sahajjain01

File handling questions

Jul 20th, 2014
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. 1.Program to write numbers one to hundred in a data file notes.txt
  2. 2.Program which initializes a string variable and outputs the string to the disk file.
  3. 3.Program to read content from a text file out.txt, count and display the number of alphabets present in it.
  4. 4.Program to count number of blanks present in a text file.
  5. 5.Program to count number of words in a text file.
  6. 6.Program to count number of times the word 'the' as an independant word in a text file.
  7. 7.Program to count number of lines not starting with the alphabet 'A' in a text file.
  8. 8.Program that reads a file first.txt and creates a new file second.txt containing all words from file first.txt which start with an upper-case alphabet.
  9. 9.Program that reads a file first.txt and creates a new file second.txt which contains only those words from first.txt which starts from lower-case vowels.
Advertisement
Add Comment
Please, Sign In to add comment