Please help me my teacher gave me this problems:
1. Create a program that will show the plural form of the input regular nouns.
example:
Input a regular noun: church
The plural form is: churches
Input a regular noun: tomato
The plural form is: tomatoes
2. Create a program when you input it a 4 number will say it as a year(Maximum year is 2009).
example:
Input a year:1922
The year is Nineteen Twenty Two
Input a year: 2003
The year is Two thousand three
3. Create a program that will determine the date of the inputed num and if it is a leap year or not.
example;
Enter a year: 2002
Enter the days: 365
It is December 31
Enter a year: 2004
Enter the days: 365
It is December 30
Please help me the deadline is at the 2nd week of March and we can only use arrays,loops and if statements.


LinkBack URL
About LinkBacks




Reply With Quote




Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum