-
高级语言程序设计课程第二次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13570 学号:102500415 姓名:林帅前 一.3.11的八道 -
结对项目-自动生成小学四则运算题目命令行程序
(一) 这个作业属于哪个课程 https://edu.cnblogs.com/campus/gdgy/Class34Grade23ComputerScience 这个作业要求在哪里 https://edu.cnblogs.com/campus/gdgy/Class34Grade23ComputerS -
高级语言程序设计课程第二次个人作业
这个作业属于课程:课程链接 这个作业要求在:作业要求 学号:102500408 姓名:阮意舒 作业一、3.11练习题1-8 练习1·上下溢出问题 思路:取int及float的取值范围临界数并进行运算 练习2·输出ASCII码对应的字符 思路:使用printf进行强制格式转换 练习3·发出警报打印文本 -
软工第三次作业--结对作业
廖永祺 3123004617 谭钧灏 3123004628 GitHub项目地址:https://github.com/LiaoYongQi6948/calculation.git 这个作业属于哪个课程 <班级的链接> 这个作业要求在哪里 https://edu.cnblogs.com/campus -
实验2
实验任务1 源代码: #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 80 #define N2 35 int main() { int cnt; int random_major, ra -
面向对象编程实验一
1.实验任务一:**reverse和reverse_copy有什么区别?** 答:reverse和reverse_copy都是将一个容器里的元素倒置,区别在于前者是将倒置后的新序列依旧存储在原来的容器中,而后者是将倒置后的序列放在一个新的容器中,并且保持元来的容器的序列顺序不变。 **rotate算 -
OOP-实验1
实验1 实验任务1 task 1.cpp #include <iostream> #include<string> #include<vector> #include<algorithm> template <typename T> void output(const T &c); void tes -
实验1 现代C++编程初体验
实验任务1源代码task1.cpp 1 #include <iostream> 2 #include <string> 3 #include <vector> 4 #include <algorithm> 5 6 // 模板函数声明 7 template<typename T> 8 void out -
福州大学2025级软件工程 2025.10.14作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500428 姓名:杜翰墨 图一 代码 图二 -
实验2
实验2 task1 问题一:rand函数无法每次运行都生成一个随机数,而srand(time)使之真正随机 问题二:随机抽取一名学生 task2 问题一:去掉后没有重置total_price的值,会使下次运行出错 问题二:继续执行continue后面的循环语句 task3 源代码 #include -
实验2
实验任务1 源代码 #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define N1 80 #define N2 35 int main(){ int cnt; int random_major,random_n -
2025高级语言程序设计第一次作业lcr
班级链接:https://edu.cnblogs.com/campus/fzu/gjyycx 作业要求链接:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 我的学号:102500417 我的名字:刘朝榕 1.安装dev-c++ 2.成 -
高级语言程序设计第一次作业
班级链接:https://edu.cnblogs.com/campus/fzu/gjyycx 作业要求链接:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500328 姓名:刘宇桓 1.安装成功后的界面 2.编写代码 3 -
代码规范与数学之美
一.编码规范 (1)给变量起 “好记的名”。变量名要能看出是干啥的,取一个可观的名字能大大增加代码可读性。(2)别让一行代码太长:一行代码别写得太满,超过屏幕宽度就换行,比如把长的计算拆成两行,不用横向拖动屏幕看,方便自己浏览。(3)缩进和空格别乱加:写代码时,遇到if、for这类语句,里面的代码要 -
高级语言程序设计第一次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500420 姓名:连骁晗 一.安装C程序的编 -
实验2
一、实验任务1 源代码task1 1 #pragma once 2 3 #include <string> 4 5 // 类T: 声明 6 class T { 7 // 对象属性、方法 8 public: 9 T(int x = 0, int y = 0); // 普通构造函数 10 T(const -
实验1
实验任务1 源代码 1 #include<stdio.h> 2 int main() { 3 printf(" O\n"); 4 printf(" <H>\n"); 5 printf(" I I \n"); 6 return 0; 7 8 } 运行结果 实验任务1_1 源代码 1 #include< -
结对项目
1.提交 这个作业属于哪个课程 https://edu.cnblogs.com/campus/gdgy/Class34Grade23ComputerScience 这个作业要求在哪里 https://edu.cnblogs.com/campus/gdgy/Class34Grade23Computer -
实验3作业
任务1 #include<stdio.h> char score_to_grade(int score); int main() { int score; char grade; while(scanf("%d",&score)!=EOF) { grade=score_to_grade(score) -
实验3
实验任务1 源代码: #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade =