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:00
Which of the following has not been attributed at least in part to social media a. drug addiction b. depression c. kidnapping d. murder
Answers: 2
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 23.06.2019 07:50
Apython programming question: assume s is a string of lower case characters. write a program that prints the number of times the string 'bob' occurs in s. for example, if s = 'azcbobobegghakl', then your program should print number of times bob occurs is: 2
Answers: 3
question
Computers and Technology, 23.06.2019 12:00
Which of these is an example of an integrated presentation? a. a table created in powerpoint b. an image pasted into powerpoint c. a caption created in powerpoint d. an excel chart pasted into powerpoint
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, 27.05.2020 02:03
Questions on the website: 13722367