The currency converter script of Section 1.8 uses the variable dollars to store the amount of money to be converted before performing each of the multiplications. This made the script one line longer...

The currency converter script of Section 1.8 uses the variable dollars to store the amount of money to be converted before performing each of the multiplications. This made the script one line longer than simply typing the integer quantity 1000 directly into each of the multiplication calculations. Why is it advantageous to create this extra variable ahead of time?

May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here