随笔分类 - c++习题
摘要://03、编写一个程序,要求从键盘输入四科成绩,求出该生最高成绩与最低成绩。#include<iostream>using namespace std; int main(void){ int nGread[6] = {0}; cout << "请输入四科成绩" << endl; for (int
阅读全文
摘要:1 #include<iostream> 2 3 using namespace std; 4 5 int main(void) 6 { 7 // 输入任意一个年份判断其是否为闰年 8 int iYear = 0; 9 cout << "请输入年份" << endl; 10 cin >> iYear
阅读全文

浙公网安备 33010602011771号