3221 |
输入三个整数 x,y,z,请把这三个数由小到大输出。 |
60 |
2024-08-01 |
3222 |
输入某年某月某日,判断这一天是这一年的第几天? |
76 |
2024-08-01 |
3223 |
一个整数,它加上 100 后是一个完全平方数,再加上 168 又是一个完全平方数, 请问该数是多少? |
86 |
2024-08-01 |
3224 |
企业发放的奖金根据利润提成。利润(I)低于或等于 10 万元时,奖金可提 10%; 利润高于 10 万元,低于 20 万元时,低 |
100 |
2024-08-01 |
3225 |
有 1、2、3、4 个数字,能组成多少个互不相同且无重复数字的三位数?都是多 少? |
69 |
2024-08-01 |
3226 |
构建两个N×N(1<N≤20)的整数方阵A与B,编写程序实现将A、B两个矩阵对应元素相加后得到一个新的N×N方阵C。例 |
96 |
2024-07-22 |
3227 |
请编写一函数js(),利用函数调用,要求根据以下公式求p的值,其中n作为形参。p=1/2+1/(2+4)+1/(2+4+6)+...+1/(2+ |
54 |
2024-07-22 |
3228 |
在利用计算机进行文档编辑时,经常会遇到查找替换操作,例如把文档中的“电脑”都替换成“计算机”,请你编写一程 |
96 |
2024-07-22 |
3229 |
编写程序,实现从键盘上读入N个整数(1<N≤20),按从大到小输出这N个整数。 【输入格式】 两行:第一行是一个正整数 |
57 |
2024-07-22 |
3230 |
编写程序,利用循环嵌套实现在屏幕上输出如下由字符“#、@”构成的8×5(即8行,每行5个字符串)字串图案,每个字串 |
54 |
2024-07-22 |
3231 |
编写程序,实现从键盘上读入k个整数(0<k≤20),输出最小的那个数。 【输入格式】 两行:第一行是一个正整数表示k值 |
92 |
2024-07-22 |
3232 |
#include <stdio.h> struct abc {int a,b, c; }; main() {struct abc s[2]={{1,2,3 |
31 |
2024-07-14 |
3233 |
#include<stdio.h> struct cmplx { int x; int y; } cnum[2]={1, 3, 2,7}; mai |
29 |
2024-07-14 |
3234 |
#include<stdio.h> main( ) {struct stu {int num; char a[5]; float score; }m={1234,” |
55 |
2024-07-14 |
3235 |
#include<stdio.h> struct st { int x; int y; } a[2]={5, 7, 2, 9} ; main() { pr |
70 |
2024-07-14 |
3236 |
#include <stdio.h> char s[]=”ABCD”; main() { char *p; for(p=s;p<s+4;p++) printf(“%c |
68 |
2024-07-14 |
3237 |
#include<stdio.h> main( ) { static char a[ ]=”Program”, *ptr; for(ptr=a, ptr<a+7; pt |
64 |
2024-07-14 |
3238 |
#include <stdio.h> main( ) { int a[ ]={1, 2, 3, 4, 5, 6}; int x, y, *p; p |
100 |
2024-07-14 |
3239 |
#include<stdio.h> main() { int arr[ ]={30,25,20,15,10,5}, *p=arr; p++; printf(“%d\n”, |
79 |
2024-07-14 |
3240 |
#include<stdio.h> main ( ) { int a[]={1, 2, 3, 4, 5} ; int x, y, *p; p=a; x |
97 |
2024-07-14 |