213k views
2 votes
Which of the following can cause a run-time error?

A programmer anticipated a positive whole number, and the user input a negative decimal value.

A programmer anticipated text data, and the user input text data.

A programmer anticipated numeric data, and the user input numeric data.

A variable was not defined because of a typographical error in the definition of that variable.

User Chuck L
by
4.6k points

2 Answers

5 votes

Answer:

A programmer anticipated text data, and the user input text data.

User Joseph Ravenwolfe
by
5.2k points
1 vote

Answer:

A programmer anticipated a positive whole number, and the user input a negative decimal value.

Step-by-step explanation:

Edge : )

User Izzekil
by
4.4k points