How to print the leap years of 20th centuries in for Loop c++ By Munavar Ahmad How to print the leap years of 20th centuries in for Loop c++ By Munavar Ahmad #include<iostream> using namespace std; int main() { int i; for(i=1901;i<=2000;i++) { if(i%4==0) cout<<i<<endl; } return 0; }
0 comments:
Post a Comment
If You Have Any Problem While Downloading Comment Below