题解列表

筛选

二级C语言-同因查找题解(c语言)

摘要:解题思路:在循环中使用if语句,如果条件成立则输出注意事项:条件例i%7==0 (== “等于“,别搞成一个了)参考代码:#include<stdio.h>int main(){ int n,i; n……

C++类的思想题解

摘要:解题思路:使用类的思想,其他的就不说了别的地方都有写。注意事项:参考代码:#include<iostream>using namespace std;class Student {private: s……

这真的是太简单了,有手就行

摘要:解题思路:注意事项:(为了防止control+C,control+V仅供参考,建议在自己的编译器上,先编译运行)参考代码:#include "stdio.h"int main() { int n; i……

超级简洁版

摘要:参考代码:#include<iostream>#include<algorithm>using namespace std;const int N =310;double a[N];int main(……

本题的思路要清晰

摘要:解题思路:将两边的数字调换位置注意事项:循环次数为5次参考代码:#include<stdio.h>int main(){     int a[10],i,temp;     for(i=0;i<10;……

C语言训练-阶乘和数*

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int Weishu(int n)//判断位数{    int i = 0;    while (n ……

!三个字符串的排序

摘要:#include <stdio.h>#include <string.h> int main(){ char x[100];char y[100];char z[100];  char c1[100]……

java题解 最简单的解法

摘要:解题思路:注意事项:参考代码:public class Main {    public static void main(String[] args) {        System.out.pri……