subject

What does $message contain after the following code executes?

$age = 19;

$score = 750;

if ( $age >= 21 && $score >= 700 ) {

$message = 'Loan approved';

} else if ( $age >= 21 && $score >= 650 ) {

$message = 'Cosigner needed.';

} else if ( $age >= 18 && $score >= 680 ) {

$message = 'Two cosigners needed.';

} else {

$message = 'Loan denied.';

}

a. Loan approved.
b. Cosigner needed.
c. Two cosigners needed.
d. Load denied.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
Which of the following statements best describes it careers?
Answers: 2
question
Computers and Technology, 22.06.2019 22:20
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
question
Computers and Technology, 23.06.2019 01:50
Write a program that uses a random number generator to generate a two digit positive integer and allows the user to perform one or more of the following operations: a. double the number. b. reverse the digits of the number. c. raise the number to the power of 2, 3, or 4. d. sum the digits of the number. e. if the number is a two-digit number, then raise the first digit to the power of the second digit. f. if the number is a three-digit number and the last digit is less than or equal to 4, then raise the first two digits to the power of the last digit. after performing an operation if the number is less than 10, add 10 to the number. also, after each operation determine if the number is prime. each successive operation should be performed on the number generated by the last operation. your program should not contain any global variables and each of these operations must be implemented by a separate function. also, your program should be menu driven. 7. (fraction calculator) write a program that
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Type the correct answer in the box. spell all words correctly. the managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an
Answers: 1
You know the right answer?
What does $message contain after the following code executes?

$age = 19;

$...
Questions
question
Biology, 06.07.2019 10:00
question
English, 06.07.2019 10:00
question
Mathematics, 06.07.2019 10:00
question
Mathematics, 06.07.2019 10:00
question
Mathematics, 06.07.2019 10:00
Questions on the website: 13722361