
Como voltear horizontalmente un triangulo en c++ por favor es urgente
Publicado por Maria (3 intervenciones) el 07/12/2020 23:45:43
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
for(int i=4; i<=10; i++){
cout<<" ";
for(int j=0; j<10-i; j++){
cout<<"*";
}
cout<<" \n";
}
return 0;
}
Valora esta pregunta


0