C++ Programs
Home
Tuesday, 25 August 2015
12345 1234 123 12 1
#include"stdafx.h"
#include<iostream>
usingnamespace std;
int main()
{
for(int i=1; i<=5; i++)
{
for(int j=1; j<=6-i; j++)
{
cout<<j;
}
cout<<endl;
}
system("pause");
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment