Post a New Question

computer science

posted by .

I need to write a program that ask the student to enter an answer to a math problem. The user should enter two values, one at a time, and then ask for an answer. The program should display if the entered answer is correct or not and display the correct answer if the user entered the wrong answer. I am stuck nothing I have done will run. I am using python

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. C Programming

    Write a program that prompts the user to enter a temperature, followed by a letter representing Celsius (C) or Fahrenheit (F). Then prompt the user for the conversion type and print the results to the screen with one decimal point. …
  2. computer science

    write a program that asks the user to enter today's sales rounded to the nearest $100 for each of three stores. the program should then display a bar graph comparing each store's sales. create each bar in the graph by displaying a …
  3. computer science

    write a program that asks the user to enter today's sales rounded to the nearest $100 for each of three stores. the program should then display a bar graph comparing each store's sales. create each bar in the graph by displaying a …
  4. CIS 115

    I need help with the visual logic flowchart for the following problem: A local deli sells lunch value meals that consist of a sandwich, soup and a drink. The price of each meal depends on the actual items ordered. Write a program that …
  5. computer programming

    : Create a program like KBC game show where program ask user 3 different question one after another and the user should answer them. If the answer are correct then pop up the message as “you got the right answer” and must ask user …
  6. Design Logic and programming

    write a program that ask the student to enter an answer to a math problem. The user should enter two values, one at a time, and then ask for an answer. The program should display if the entered answer is correct or not and display …
  7. programming

    Write a program which allows user to enter 10 student names and scores for Java programming 1 and Java programming 2. Allow user to choose which course they want to enter the record for. Use the loop to ask input from user. The program …
  8. intro to computer programming

    Write a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount. Your program should use a loop …
  9. java programming

    1. Time Calculator Write a program that asks the user to enter a number of seconds. • There are 60 seconds in a minute. If the number of seconds entered by the user is greater than or equal to 60, the program should display the number …
  10. Programming

    Scenario: Write a program that will determine the average mark of each student. The average is dependent on the subjects which the student has completed. The minimum amount of subjects is eight, and the maximum amount of subjects is …

More Similar Questions

Post a New Question