subject

Errors can be syntax errors or logic errors (the code works, but not as intended). Which of the following statements contains an error?

double approxAgeInDays = ageInYears * 365.25;
ageInHours = (int)approxAgeInDays * 24;
ageInMinutes = ageInHours * 60;

I only
II only
III only
I and II only
II and III only

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 23:30
The keyboard usually has six rows of keys. which of the following is not one of the key group categories? letter keys number keys control keys graphic keys
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
What are "open-loop" and "closed-loop" systems
Answers: 1
question
Computers and Technology, 24.06.2019 08:20
Which type of entity describes a fundamental business aspect of a database? a. linking b. lookup c. domain d. weak
Answers: 3
question
Computers and Technology, 24.06.2019 16:30
Pressing the backspace key deletes the text to the of the insertion point. the left or the right?
Answers: 1
You know the right answer?
Errors can be syntax errors or logic errors (the code works, but not as intended). Which of the fol...
Questions
question
Mathematics, 22.11.2020 02:00
question
Biology, 22.11.2020 02:00