#include <iostream>
using namespace std;
struct user
{
char name;
int age;
bool adult;
};
struct user player[10];
int main()
{
int input_user;
cout <<"User Login(0)\n\n"
cout <<"User Singup(1)\n\n"
cin >> input_user;
if(input_user==1)
{
cin << user.name;
cin << user.age;
cin << user.adult;
}
else if(input_user==0)
{
cout <<"login"
}
else cout<<"Error";
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: