- 博客(2)
- 收藏
- 关注
原创 给定一个10*10的数组,元素全部初始化为0, 尝试随机生成几个位置 给这些位置的元素赋值为1.
#include <stdio.h> #include<stdlib.h> #include<time.h> void generate_random_walk(char walk[10][10]); void print_array(char walk[10][10]); int main(void) { char a[10][10]; int...
2019-01-27 17:26:12
1317
原创 有一组数据 1,2,3,4,6,2,4,2,1,3,6,4,3,5,6,7,7 现在让用户输入一个值 ,统计并打印出这个值出现的次数.
#include <stdio.h> #include <iostream> using namespace std; int main() { int IntPutNumber; int temp = 0; int i = 0; int Arr[17] = { 1, 2, 3, 4, 6, 2, 4, 2, 1, 3, 6, 4, 3, 5...
2019-01-27 14:53:39
398
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅