2. Manually Add It Up? (How many time do we have to call the method?)


#1



Once i guess? :joy: I called it once and it worked, so what do they mean by the red circled text?


#2

you took a little shortcut, normally you would do:

cashRegister.add(0.98);
cashRegister.add(1.23);
cashRegister.add(4.99);
cashRegister.add(0.45);

which means you have to call the method multiply times. Your method means you have to change the method call if you want to change the products you want to buy


#3

Haha :joy: I cant belive this, you are right THANK YOU SO MUCH!. Here are some pictures of me trying to be smart again but fail, enjoy :joy: