HomeHome  SearchSearch  RegisterRegister  Log in  

Share | 
 

 UP Arrow C++

Go down 
AuthorMessage
Anupam (Administrator)
Admin
avatar

Posts : 117
Join date : 2012-02-25

PostSubject: UP Arrow C++   Thu Dec 27, 2012 11:48 am

Quote :





#include <iostream>

using namespace std;

int main()
{
int i, j, k;

for (i = 1; i <=7; i++)
{
cout << " ";
}

cout << "." << endl;

for (i = 1; i <= 7; i++)
{
for (j = 6; j >= i; j--)
{
cout << " ";
}

cout << ".";

for (k = 2; k <= i * 2; k++)
{
cout << " ";
}

cout << "." << endl;
}


return 0;
}







Back to top Go down
View user profile http://milanstopper.fullboards.com
 
UP Arrow C++
Back to top 
Page 1 of 1
 Similar topics
-
» RMXP- Mission Arrow
» Bow and Arrow mark, Who is this?
» Swiss Red Arrow Double Railcar at Zurich main station tonight
» Curtain burner replace question
» Theory: Inner Senshi Talismans

Permissions in this forum:You cannot reply to topics in this forum
 :: PUBLIC :: C++ TUTORIALS-
Jump to: