Chapter 1: Problem 58
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?
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.