i am doing some example questions for a class i have in c programming and would appreciate any help anyone can offer me with regards writing the requested programmes.
the questions are as follows:
1) using a structure variable(including day, month and year), the programme read a date from the keyboard and then find out how many days away from 25 december (note: leap years must be considered).
2) Write a program that first reads in a string mixed with numbers and letters from the keyboard and then separates the numbers from the letters.
3) Write a program that reads in three lines of text from the keyboard and stores the text in a file, then reads in the second line text from the file and counts how many times a key word entered from keyboard appears in the second line text.
any help on any of the questions would be greatly appreciated. Thanks,Brad.



LinkBack URL
About LinkBacks


