题解列表
C语言程序设计教程(第三版)课后习题11.5 (C语言代码)
摘要:解题思路:名字和学号用字符串数组存储,然后三个数组分别存储三科成绩,然后一个数组存储每个人的三科成绩的和(因为要求输出分数最大的那个,指的是三科总分.)我这里定义的分数是float型的,可能有更简洁的……
C语言程序设计教程(第三版)课后习题10.4 (C语言代码)
摘要:解题思路:注意事项:参考代码: #include <stdio.h>void test(int a,int brr[],int c,int drr[]);int main(){ int n,m,……
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码)
摘要:解题思路:题目说的很明白注意事项:1不是素数参考代码:#include <stdio.h>int isPrime(int a);int main(){ int m,n,i,temp,sum=0;……
字符串的输入输出处理 (C语言代码)
摘要:解题思路:注意事项:参考代码:#include "stdio.h"
int main()
{
char a[1000];
int n,i;
scanf("%d",&n);
getc……
A+B for Input-Output Practice (II) (C语言代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,n; scanf("%d",&n); while(n--) { ……
A+B for Input-Output Practice (III) (C语言代码)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,n; while(scanf("%d %d",&a,&b)!=EOF&&a!=0|……
C语言程序设计教程(第三版)课后习题6.7 (Java代码)
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……
数列有序 (C语言代码)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m,i,t,a[200],j; while(scanf("%d %d",&n,&m)!=……