C1

#include<stdio.h>
int main()
{
const int AMOUNT = 100;
int price = 0;

printf ( "Please enter the amount (yuan):");
scanf_s ( "% d", &. price);

int change = AMOUNT - price;

printf ( "% d find your dollar \ n.", change);

return 0;
}

 

Shining play to understand

Guess you like

Origin www.cnblogs.com/xuanlingya/p/11614626.html
C1
C1
C1