Computer Science, asked by sakshi15jaiswal, 2 months ago

WRITE THE JS STATEMENTS FOR EACH OF THE SITUATION DESCRIBED BELOW:
I. Assign a value 2 to the variable A.
ii. Assign the value represented by variable N to the variable N1.
iii. Print the string “February” on the window.
iv. Assign the value represented by the formula A2 + B2 + C to the variable X.
v. Increase the value of the variable count by 2.
vi. Assign the value 3 to the variable C1, C2, C3
vii. Print the values C1, C2, C3 in a single line.
viii. Print the values C1, C2, C3 in separate lines.
ix. Print the statement Hello! World in the following format:
Hello!
World.
x. Print the values C1, C2, C3 in one line with some space between them.

Answers

Answered by umeshnirmal04
1

Answer:

Print the string “February” on the window. . Assign the value represented by the formula A2 + B2 + C to the variable X.. Increase the value of the variable count by 2.i. Assign the value 3 to the variable C1, C2, C3

Similar questions