K12教育赛事综合服务平台
聚乐之家官方网站
下载聚乐之家官方App
专注青少年竞赛题库网站
int a; scanf("%d", a); printf("%d", a); // 输入5后输出5
char str[10]; cin >> "hello world"; cout << str; // 输出hello world
double num = 3.1415; printf("%.2f", num); // 输出3.14
int n = 100; cout << "n的值是:" + n << endl; // 输出n的值是:100