This code will work with first name or last name without spaces but not with full name,help!Code:#include <stdio.h> #include <stdlib.h> #pragma warning(disable:4996) int main() { char name[50]; int year1, year2; int age; //Ask for the name printf("What is the name of subject?\n"); printf("Enter name.. "); scanf("%s[^\n]", name); //Ask for the birthyear printf("What year did %s born?\n",name); printf("Enter as a 4-digit number (YYYY) : "); scanf("%d", &year1); //Ask for the target year printf("What is the target year?\n"); printf("Enter as a 4-digit number (YYYY) : "); scanf("%d", &year2); age = year2 - year1; //Display age in target year printf("%s is %d years old in %d.", name, age, year2); getchar(); system("pause"); }