We can use variables to solve problems like those we might solve in a spreadsheet. Imagine that you had a spreadsheet with an invoice for an office supply company.
We donโt really have to create new variables quantity2 and unitPrice2. We only use those to compute the total for the line, and then we could reuse those variable names.
Write the code to calculate and print how many paperclips you can buy if each paperclip is $0.05 and you have $4.00 in your pocket. It should print 80.
There is a hint available below the problem. It doesnโt give the full answer, you will have to replace all of the ??? โs in it with different values.