Ask Question
31 July, 07:22

You are writing a line of code that should ask the user to input the balance of their bank account in dollars and cents. The program will then perform a multiplication problem to tell the user how much interest they can earn. Identify three errors in your line of input code and explain why they are incorrect. Include the corrected line of code in your answer. Here is the code:

1num = input (What is your balance?)

+4
Answers (1)
  1. 31 July, 08:25
    0
    1. Variable names should not start with a number

    2. Opening quote missing

    3. Closing quote missing

    corrected line:

    num = input ("What is your balance?")
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “You are writing a line of code that should ask the user to input the balance of their bank account in dollars and cents. The program will ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers