編程從鍵盤(pán)輸入兩個(gè)整數(shù)分別給變量a和b?
#include<stdio.h>intmain(){inta,b;scanf("%d%d",&a,&b);a=a+b;b=a-b;a=a-b;printf("%d%d",a,b);return0;}
編程從鍵盤(pán)輸入兩個(gè)整數(shù)分別給變量a和b?
#include<stdio.h>intmain(){inta,b;scanf("%d%d",&a,&b);a=a+b;b=a-b;a=a-b;printf("%d%d",a,b);return0;}