Advertisement
Guest User

Untitled

a guest
May 29th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <conio.h>
  3. int main()
  4. {
  5.     unsigned char teclas;
  6.     printf("(");
  7.     for(teclas = 1;teclas < 11;teclas++)
  8.     {
  9.         printf("%c", getch());
  10.         if(teclas == 2)
  11.             printf(")");
  12.         else if(teclas == 6)
  13.             printf("-");
  14.     }
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement