Change a dollar to 5 points, 2 points, 1 point coin, how many other types of replacement?

xiaoxiao2021-03-05  23

#include

Using namespace std;

int main ()

{

INT SUM = 0;

For (int i = 0; 5 * i <= 100; i ) SUM = (102-5 * i) / 2;

Cout << "SUM IS:" << Sum << endl;

System ("pause");

Return 0;

}

转载请注明原文地址:https://www.9cbs.com/read-35646.html

New Post(0)