Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <conio.h>
- int main()
- {
- unsigned char teclas;
- printf("(");
- for(teclas = 1;teclas < 11;teclas++)
- {
- printf("%c", getch());
- if(teclas == 2)
- printf(")");
- else if(teclas == 6)
- printf("-");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement