#include <stdio.h>
int main()
{
int price = 0;
printf("金额");
scanf("%d", &price);
int change = 100 - price;
printf("找你%d\n",change);
return 0;
}
int price = 0这个为什么要加一个0,之前先学过一点点python ,对这个有点不理解为什么这么做
#include <stdio.h>
int main()
{
int price = 0;
printf("金额");
scanf("%d", &price);
int change = 100 - price;
printf("找你%d\n",change);
return 0;
}
int price = 0这个为什么要加一个0,之前先学过一点点python ,对这个有点不理解为什么这么做