Possible answer using if else and while loop only. No arrays.
#include <iostream>
#include <string>
using namespace std;
int main() {
float total = 1975.15;
float _1k = 0, _5h = 0, _2h = 0, _1h = 0, _50p = 0, _20p = 0, _10p = 0, _5p = 0, _1p = 0, _25c = 0, _10c = 0, _5c = 0;
while (total...