Ask Question
27 August, 16:08

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?)

+5
Answers (1)
  1. 27 August, 19:10
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers