Advertisement
dzieciol

laboratorium I zad 6

Oct 22nd, 2015
425
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(int argc, char *argv[]) {
  5.     char znak;
  6.     printf("Podaj znak, a wypisze jego kod ASCII w postaci dziesietnej");
  7.     scanf("%c",&znak);
  8.  
  9.     printf("Kod ASCII znaku w postaci dziesietnej: %u\n",znak,znak);
  10.    
  11.     getch();
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement