CSE Rockz Home Blog Links Forum VSF

Monday, February 2, 2009

CHALLENGES : 2


work out these programs befor any one else does!!

1.wap which accepts a program and prints first nonzero number of its factorial from right side.

2.wap which accepts a line and a string and tells whether string is there in the line or not.

3.wap which accepts a line and two strings and replace all occurances of 1st string in the line with the second one

4.wap which accepts any number from 0 to 999999999 and convrets it to words

5. wap which accepts a year and prints calender of that year with similar indentation to that of a real calendar

6. wap which accepts DOB and prints week of that date

No comments:

Post a Comment