Home Article Practice biancheng

biancheng

2020-09-20 09:30  views:466  source:小键人255140    

#include <stdio.h>
int main()
{
int amount = 100;
int price = 0;
printf("请输入金额(元):");
scanf("%d",&price);
printf("请输入票面");
scanf("%d",&amount);
int change = amount - price;
printf("找您%d元。\n",change);
return 0;
}



Disclaimer: The above articles are added by users themselves and are only for typing and communication purposes. They do not represent the views of this website, and this website does not assume any legal responsibility. This statement is hereby made! If there is any infringement of your rights, please contact us promptly to delete it.

字符:    改为:
去打字就可以设置个性皮肤啦!(O ^ ~ ^ O)