kalponikoronno

test

Feb 26th, 2015
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.43 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.  
  5.  
  6.  
  7.     char yn[20];
  8.     char nm[20];
  9.  
  10.     printf("Please enter your name: ");
  11.     scanf("%s", &yn);
  12.     printf("\nHey %s, Thank you for providing your name\nWe heard you got a nice mentor\nfor your group of coderstrust\n", yn);
  13.  
  14.  
  15.     printf("Enter his name: ");
  16.     scanf("%s", &nm);
  17.  
  18.     printf("\nWow Mr.\n%s! He is really great! \nYou can learn a lot from him", nm);
  19. return 0;
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment