Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main(){
- int linha, coluna;
- linha = 7;
- coluna = 7;
- int i;
- int j;
- for ( i = 0 ; i < linha ; i++ ){
- for( j = 0; j < coluna; j++ ){
- if ( i >= j ) {
- cout << "*" ;
- }
- }
- cout << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement