#include <iostream> // 预处理器指令
#include<string>
using namespace std; // 使标准库中的名字定义可见
int main()
{
string name;
long ID;
float weight;
//string classname;
char classname[20];
float scores;
cout << "Name: ";
getline(cin, name);
cout << "ID: ";
cin >> ID;
cout << endl;
cout << "Weight: ";
cin >> weight;
cout << endl;
cout << "Classname: ";
cin >> classname;
cout << endl;
cout << "Scores: ";
cin >> scores;
cout << endl;
cout << "Name: " << name << endl;
cout << "ID: " << ID << endl;
cout << "Weight: " << weight << endl;
cout << "Classname: " << classname << endl;
cout << "Scores: " << scores << endl;
return 0;
}