#include <stdio.h>
#include<string.h>
struct person
{
 int age;
char name[100];
};

int main(){
    struct person s1;
    printf("Enter the age: \n");
    scanf("%d\n",&s1.age);
    printf("Enter the name:\n");
    scanf("%[^\n]s",s1.name);
    printf("The age is : %d\n",s1.age);
    printf("The name is %s\n",s1.name);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: