#include <iostream>using namespace std; int main() {int x,y;for (x=1;x<=5;x++){for (y=1;y<=x;y++) cout<<"*";} return 0;}
Standard input is empty
***************
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!