main() { int a; scanf("%d,&a"); if (a == 123) { printf("aaaa"); } else { printf("bbbb"); } getch();main(){int a;scanf("%d,&a");if (a == 123){printf("aaaa");}else{printf("bbbb");}getch();}请高手指点我这段代码哪里有错误,一直运行不

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/01 15:19:27
main() { int a; scanf(
x)MTV+QHV(NNKPRMQKTҴVLSHTU042)+(**H|BjNq*D@$SK344!VTC,@3j4kAFW\ 3/Wxyg_l'?_t=t2:Ov4< /

main() { int a; scanf("%d,&a"); if (a == 123) { printf("aaaa"); } else { printf("bbbb"); } getch();main(){int a;scanf("%d,&a");if (a == 123){printf("aaaa");}else{printf("bbbb");}getch();}请高手指点我这段代码哪里有错误,一直运行不
main() { int a; scanf("%d,&a"); if (a == 123) { printf("aaaa"); } else { printf("bbbb"); } getch();
main()
{
int a;
scanf("%d,&a");
if (a == 123)
{
printf("aaaa");
}
else
{
printf("bbbb");
}
getch();
}
请高手指点我这段代码哪里有错误,一直运行不正确

main() { int a; scanf("%d,&a"); if (a == 123) { printf("aaaa"); } else { printf("bbbb"); } getch();main(){int a;scanf("%d,&a");if (a == 123){printf("aaaa");}else{printf("bbbb");}getch();}请高手指点我这段代码哪里有错误,一直运行不
scanf("%d,&a");改成scanf("%d",&a);

c++求梯形面积题目计算上底为a,下底为b,高为h的梯形面积,其中,a、b、h的值(整型数据)由用户从键盘上输入.这是源程序:#include int main(void){int a,b,h,c; printf(请输入梯形的长、宽和高:); scan C++有道题看不懂,#include int func(int a,int b);int main(){cout main() { int a ; scanf(%d,&a); if(a++ main() { int a; for(a=1;a main() {int m[10],a;for(a=0,a #include stdio.h main() { int A,B,C; while (A C语言问题,16进制内转任意进制数,转成10进制时的函数对了,但转为任意进制时出错.#includestdio.h#includestring.h#includemath.hvoid main(){while(1){int change10(int x,char y[]);int change(int x,int y);int k,l,temp;scan int main() { float a=1.0f; cout #include int a=3,b=5; max (int a,int b) {int c; c=a>b?a:b; return (c); } void main() {int #include using namespace std; int main() { int a,b,c; a=3; int f(int x,int y,int z);#include using namespace std; int main() {int a,b,c;a=3;int f(int x,int y,int z); cin>>a>>b>>c;c=f(a,b,c);cout 这个简单程序啥意思啊?#includeusing namespace std;int main(){int a=16;cout #define MAX 10 int a[MAX],i; int main( ) sub1( ) { for(i=0;i #include void main(){int a[30];int i;for (i=0,i void main() {int t=1;fun(fun(t));} fun(int h) {stvoid main(){int t=1;fun(fun(t));}fun(int h){static int a[3]={1,2,3}; int k; for(k=0;k error C2065:'a' :undeclared identifier#includeint main(){int print_shang();int print_xia();print_shang();print_xia();return 0;}int print_shang(){int a,b;for(a=1;a java编程实现:从键盘任意输入一个数,判断这个数是不是7的倍数.import java.util.Scanner;class test7 {public static void main(String args[]){Scanner scan=new Scanner(System.in);int i;i=scan.nextInt();if (i%7==0)System.out.println swap(int *p1,int *p2) {int temp; temp=*p1; *p1=*p2; *p2=temp; } main() { int a,b; int *pointer_1,*pswap(int *p1,int *p2){int temp;temp=*p1;*p1=*p2;*p2=temp;}main(){ int a,b;int *pointer_1,*pointer_2;scanf(%d,%d,&a,&b);pointer_1=&a;pointer_2=&b;if(a #include int main( ){int c;cout