题解 3000: 交换值

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

不用指针,简单写法

摘要:解题思路:一看就懂!注意事项:参考代码:#include <stdio.h>int main(){ int a, b; int c = 0; scanf_s("%d %d", &a, &b); c =……

交换值给个好评

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){   int a,b;   cin>>a>>b;   cout<<b<<……

题解 3000: 交换值

摘要:解题思路:简单一点注意事项:参考代码:     int a,b;    scanf("%d %d",&a,&b);    printf("%d %d",b,a);        return 0;……

2000:交换值代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>void fun(int *p,int *q);int main(){    int m,n; ……

交换值(超简单)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a,b;    scanf("%d%d",&a,&b);    printf("%d %d",b,……

基础入门)交换值

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a,b;    scanf("%d%d",&a,&b);    printf("%d %d",b,……

编写题解 3000: 交换值

摘要:解题思路:直接交换输出注意事项:参考代码:int a,b; scanf("%d %d",&a,&b); printf("%d %d",b,a);……

题目 3000: 交换值

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a = 0; int b = 0; int c = 0; scanf("%d %d", &a, &b);……

编写题解 3000: 交换值

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a , b,c;    scanf("%d %d",&a,&b);    c=a;    a=b;……