Monthly Archives: January 2020

COMPOSITE MAGIC NUMBER

A Composite Magic number is a positive integer which is composite as well as a magic number.
Composite number : A composite number is a number which has more than 2 factors. Continue reading

Posted in model2020 | Leave a comment

REMOVE WORD

Write a program to accept a sentence which may be terminated by either ‘.’ ‘?’ or ‘!’ only. Any other character may be ignored. The words may be separated by more than one blank space and are in UPPER CASE Continue reading

Posted in model2020 | Leave a comment

VALID DATE

Design a program which accepts your date of birth in dd mm yyyy format. Check whether the date entered is valid or not. If it is valid, display “VALID DATE”, also compute and display the day number of the year for the date of birth. Continue reading

Posted in model2020 | Leave a comment