Answer:
I think it would be A, good luck!
Answer:
Hi there Rumanruxi! The error is in the if statement "if(userNum = 2)".
Explanation:
The if statement in this Java code is assigning userNum the value of 2 instead of comparing it with the value of 2. For equals comparison we need to write two equals "==" in the statement as: "if (userNum == 2)". This will return true if userNum is 2 otherwise it will return false.
It looks niceee
Also can you mark me brainlyest for extra points
Answer:
The answer to this question is "Option a".
Explanation:
The description of the JavaScript code as follows:
- In the code, there is two variable defined that are "years and months". The years convert string value in number and calculate years and holds value in years variable and months variable calculate the moths and holds value in months variable.
- Then we use conditional statements in this statement we use two if blocks. In first if block we check that years variable value is equal to 0. if this condition is true. it will print months in the alert box.
- In second if block we check that if months variable value is equal to 0. if this condition is true. it will print years in the alert box.
- In else block, we use an alert box that prints years and months.
Answer:
the first action that should be taken is to back up the all important document that and by finishing doing that format the entire system...and i advise you should be choosing the best antivirus to protecting your computer