Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Bucles: triángulo asteriscos
//Title of this code //clang 3.6.0 #include <stdio.h> int main(void) { int i, j, k, n=11; printf("Pinta Triángulo de asteriscos\n\n\n"); for (i=0; i<n; i++) { for (j=n-i; j>0; j--) printf(" "); for (k=0; k<2*i+1; k++) printf("*"); printf("\n"); } return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
char xor
correccion
Vectores: bidimensionales con sizeof
Cvičenie -č.6-UDP
DÚ 2
cv2
Ordena de menor a mayor 3 numeros
Use of Arithmetic Operator
Run code before/after main in C (Clang)
Herout (67) - 13
Please log in to post a comment.