Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- main () {
- int n;
- char c;
- int i;
- printf("introduza numero de linhas: \n\n");
- scanf (" %d", n);
- printf("introduza o tipo do caracter: \n\n");
- scanf (" %c", c);
- for (i=1; i<=n; i++ )
- {
- printf(" %d\n", c);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement