- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- string name="Albus Percival Wulfric Brian Dumbledore",school="Hogwarts School of Witchcraft and Wizardry";
- int age=116;
- float h=000,w=000;
- cout<<"名字: "<<name<<endl;
- cout<<"學校: "<<school<<endl;
- cout<<"年齡: "<<age<<endl;
- cout<<"身高: "<<h<<endl;
- cout<<"體重: "<<w<<endl<<endl<<endl<<endl;
- system("pause");
- return 0;
- }
複製代碼 |