Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- char yn[20];
- char nm[20];
- printf("Please enter your name: ");
- scanf("%s", &yn);
- printf("\nHey %s, Thank you for providing your name\nWe heard you got a nice mentor\nfor your group of coderstrust\n", yn);
- printf("Enter his name: ");
- scanf("%s", &nm);
- printf("\nWow Mr.\n%s! He is really great! \nYou can learn a lot from him", nm);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment