Task 15 of 15 · 0 solved · 15 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

Problem

1.5 Strings — capstone

You buy 2 notebooks at 3.5 each. Write a complete program that prints the item, the quantity, and the total, each with its label.

Item: Notebook
Qty: 2
Total: 7.0

Note the total: multiplying a whole number by a decimal gives a decimal.

time 1000 ms memory 256 Mb
Solution
Attempts: 0 A hint guides you to the fix — it never writes the code for you.
✦
Ready to check

Press «Submit» to run your code against the task's test cases — that is what sets your score. «AI review» is an optional second opinion: it reads your code — logic and style, not just the output — and suggests the next step without handing over the answer. It never changes your score.

Next module →
Working…