#include <stdio.h>
int main(int argc, const char * argv[]) {
int price=0;
const int AMOUNT=100;
printf (“请输入金额(元):”);
scanf("%d",&price);
int change=AMOUNT-price;
printf("找您%d元.\n",change);
return 0;
}
#include <stdio.h>
int main(int argc, const char * argv[]) {
int price=0;
const int AMOUNT=100;
printf (“请输入金额(元):”);
scanf("%d",&price);
int change=AMOUNT-price;
printf("找您%d元.\n",change);
return 0;
}