class leapyears
{
public static void main(String[] args)
{
int i=2006;
int n;
for (n=1990; n<=i ; n++){
int l=n%4;
if (l==0){
System.out.println("leap year: "+n);
}
}
}
}
Download this program.
Over A Billion Hot Topic today Selected Discussion and a billion of tutorial want to learn. Tambayers Free your self to Explore the new and Hot Topic for you.
class leapyears
{
public static void main(String[] args)
{
int i=2006;
int n;
for (n=1990; n<=i ; n++){
int l=n%4;
if (l==0){
System.out.println("leap year: "+n);
}
}
}
}
Download this program.
© 2011 Readers Tambayers | Anag Amor Theme by Arhytutorial | Bloggerized by Anag Amor theme | Powered by Blogger
0 comments:
Post a Comment