Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main ()
- {
- int asteristico, ponto;
- for (ponto = 0; ponto < 5; ponto++)
- {
- for (asteristico = 0; asteristico < 5; asteristico++)
- {
- if (ponto>asteristico)
- {
- printf(".");
- }
- else
- printf("*");
- }
- printf ("\n");
- return (0);
- }
- }
Add Comment
Please, Sign In to add comment