ICT
Translate
Thursday, 5 October 2017
c++ paten code
#include <iostream>
using namespace std;
int main()
{
for(int i = 1; i <=7; ++i)
{
for(int j = 1; j <= i; ++j)
{
cout << "# ";
}
For(int x=1 x<=7; x++)
{For (int y=7 y>=1 ;y--){
Cout<<"#";}
cout << endl;}
return 0;
}
output
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
Featured post
check box
<!DOCTYPE html> <html> <head> <title>Check Box</title> </head> <body> <input ty...
No comments:
Post a Comment