Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Can someone please help me make the code to this program shorter please ??? The

ID: 3573608 • Letter: C

Question

Can someone please help me make the code to this program shorter please ???
The original problem is : (Global Scope) int main float totalsale, tendAmount, changeTocustomer; int dollars, quarters, dimes nickel, pennies, change, dol for (int x e; x 10; x++) cout "Amount of sale: cin totalSale cout endl endl; if (totalsale k e) cout "Invalid entry!" endl; else cout "Amount tendered: s"; cin tend Amount; cout endl endli if (tend Amount e) cout "Invalid entry! endli else change Tocustomer tendAmount total Sale cout "The change is S" changeT "In" endl; Tocustomer dollars floor (change Tocustomer); change (changeTocustomer dollars) 100 quarters change 25; change change 25 di mas change als Watch 1

Explanation / Answer

please give the code instead of picture. post a link for the code in the comment & I 'll post the link to my code.