Advertisement
Tahamina_Taha

subeen 2.13

Feb 6th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. #include<stdio.h>
  2. int main(){
  3.     char o;
  4.     printf("enter the first letter of your name: \n");
  5.     o = getchar();//we can also use scanf("%c",&0);
  6.     printf("the first letter of your name is: %c",o);
  7.     return 0;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement