notebook_price=input('enter notebook price'); notebook_number=input('how many notebooks would you like to buy?'); books_price=input('what is the price of a single book?'); books_number=input('how many books would you like to buy?'); pencil_price=input('how much does a pencil cost?'); pencil_price=input('how many pencils?'); total=notebook_price*notebook_number+books_price*books_number+pencil_price; ['the answer is: ' num2str(total)]