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, 22.06.2019 15:10
David is in week 3 of his current ashford course and has a paper due by monday night at midnight. he has finished everything but the concluding paragraph. as he boots up his computer to work on it, he sees a flash across the screen and then the screen goes black. he begins to panic as he tries desperately to turn the laptop back on. david should have saved his work on what kind of portable device?
Answers: 2
question
Computers and Technology, 23.06.2019 09:10
(328 inc. 448 ind. 480 in25. john has a collection of toy cars. he has 2 red cars, 4 blue cars, 4 black cars, and 6 yellowcars. what is the ratio of red cars to yellow cars? a. 1: 2b. 1: 3c. 1: 626. the net of a right triangular prism is shown below.
Answers: 2
question
Computers and Technology, 24.06.2019 09:30
Atype of researcher who uses computers to make sense of complex digital data
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
What are some websites that you can read manga (ex: manga rock)
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
History, 01.09.2019 17:50
Questions on the website: 13722367