Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char GuestNames[101][2002];
- void HandleNameInput(int n) // n = room number
- {
- char FullName[100];
- int i = 0;
- printf("Please input your first and last names seperated by a space.\n\n");
- scanf("%s%s", &FullName);
- for (i = 0; i < 100; i++)
- {
- GuestNames[i][n] = FullName[i];
- }
- printf("\nYour name has been successfully saved. Thank you.\n\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment