315,855 views
33 votes
33 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 CoolGuyHasChillDay
by
3.0k points

2 Answers

26 votes
26 votes

Answer:

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

User Michael Troger
by
3.2k points
24 votes
24 votes

Answer:

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

Step-by-step explanation:

Edge : )

User Tomtomssi
by
2.9k points