ปัญหาคือ มันรับค่าได้ แค่คำสั่งแรก จากนั้นก่อค้างยาว
รบกวนผู้รู้ทีครับ
#include<stdio.h>
#include<conio.h>
int main(){
int box1,box2,box3;
printf("Plase Num ");
scanf("%d\n",&box1);
printf("Plase Num");
scanf("%d\n",&box2);
box3 = box1 + box2;
printf("%d + %d = %d",&box1,&box2,&box3);
getch();
return(0);
}
สอบถาม ภาษา C ครับ
รบกวนผู้รู้ทีครับ
#include<stdio.h>
#include<conio.h>
int main(){
int box1,box2,box3;
printf("Plase Num ");
scanf("%d\n",&box1);
printf("Plase Num");
scanf("%d\n",&box2);
box3 = box1 + box2;
printf("%d + %d = %d",&box1,&box2,&box3);
getch();
return(0);
}