-
实验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_no -
实验2
实验任务1 源代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 80 7 #define N2 35 8 9 int main (){ 10 int cnt; 11 -
实验2
任务一 点击查看代码 #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,rand -
实验2
task1.c 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 80 7 #define N2 35 8 9 int main(){ 10 int cnt; 11 int -
实验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_ -
实验2
实验任务1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 #define N1 80 6 #define N2 35 7 int main() { 8 int cnt; 9 int ran -
实验2
试验任务1: 代码: 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 #define N 5 5 #define N1 80 6 #define N2 35 7 int main(){ 8 int cnt; 9 int ra -
高级语言程序设计第一次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyyc 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500336 姓名:林陈帅 安装C程序的编译环境: -
实验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_no; -
实验1 现代C++编程初体验
实验1-1 // 现代C++标准库、算法库体验 // 本例用到以下内容: // 1. 字符串string, 动态数组容器类vector、迭代器 // 2. 算法库:反转元素次序、旋转元素 // 3. 函数模板、const引用作为形参 #include <iostream> #include <str -
地址
https://www.cnblogs.com/zhj910 -
实验一
task1: 代码: 1 #include <iostream> 2 #include <string> 3 #include <vector> 4 #include <algorithm> 5 6 template<typename T> 7 void output(const T &c); 8 -
实验2
1.问题一:如果没有这行代码srand(time(NULL)),rand 生成的随机数序列会是固定的,失去了 “随机” 的意义。 问题二:随机生成学号 2.问题一:total_price = 0; 去掉会使上一次购买金额加到此次上 问题二:continue语义,在该次程序运行中用户输入不满足if() -
算法第一章
一、编码规范 缩进与空行:统一使用4个空格缩进 空格规则:双目运算符(+、=、== 等)前后加空格 换行要求:if、for 等语句独占一行 命名规范:使用完整英文单词,避免拼音或无意义缩写,变量名需体现类型与功能。小驼峰命名法(如courseScore、calculateSortTime);大驼峰命 -
高级程序语言设计第一次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500325 姓名:李志鹏 1.成功安装编译环境 -
实验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_ -
高级语言程序设计第一次作业
这个作业属于https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业的要求在https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500413 姓名:陈帅 1:安装Dev-C++ 从浏览器中搜 -
高级语言程序设计第一次作业
这个作业属于哪个课程: 课程 这个作业要求在哪里: 要求 学号:102500402 姓名:林睿滢 安装DEV-C++ 之前就已经安装好了,附一张编译器截图 编写和运行书本示例代码 2.1 编译成功 运行成功 2.2 编译成功 运行成功 2.3 编译成功 运行成功 总结:本次课程学习了c语言最基础的内 -
高级语言程序设计第一次作业
这个作业属于哪个课程: https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500334 姓名:吴俊杰 1.安装c程序的 -
实验2
实验任务1 task1.c源代码 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 80 #define N2 35 int main(){ int cnt; int random_majo