Computers and Technology, 04.07.2020 19:01 schwann
If totalMonths has a string value of "13", what does the code that follows display?
var years = parseInt ( totalMonths / 12 );
var months = totalMonths % 12;
if ( years == 0 ) {
alert ( months + " months.");
} else if ( months == 0 ) {
alert ( years + " years");
} else {
alert ( years + " years, and " + months + " months.");
}1. 1 years, and 1 months
2. 1 year, and 1 month
3. 1 years
4. 1 year
Answers: 1
Computers and Technology, 22.06.2019 23:00
In which part of a professional email should you try to be brief, but highly descriptive?
Answers: 1
Computers and Technology, 23.06.2019 17:00
The more powerful, 60 volt cables and the main power shut-off on an hev are both colored orange.
Answers: 1
Computers and Technology, 24.06.2019 00:50
Which of the following is not a key player in the sale of travel products?
Answers: 2
Computers and Technology, 24.06.2019 13:30
Consider jasper’s balance sheet. which shows how to calculate jasper’s net worth?
Answers: 1
If totalMonths has a string value of "13", what does the code that follows display?
var years = par...
Chemistry, 07.07.2019 18:40
History, 07.07.2019 18:40
Biology, 07.07.2019 18:40
English, 07.07.2019 18:40
Mathematics, 07.07.2019 18:40
Social Studies, 07.07.2019 18:40
Mathematics, 07.07.2019 18:40