i need to find right logical condition into for#include <iostream>
#include "funkce.h"
using std::endl;
using std::cout;
void pyramida(int N, char symbol){
for(int i=0; i<N; i++){
cout << symbol << string(i, " ") << endl;
}
}
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 13 of 13
Thread: Pyramid of stars with spacesThreaded View
|
Click Here to Expand Forum to Full Width |