APPLICATION OF SUPERVISED LEARNING
ARTIFICIAL INTELLIGENCE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following is a properly written print command?
|
print("Hello World!")
|
|
print(Hello World!)
|
|
print"Hello World!”
|
|
prnt("Hello World!")
|
Explanation:
Detailed explanation-1: -The correct answer to the question is “What is the correct JavaScript syntax to write “Hello World” is option (a). document. write(“Hello World”). This JavaScript command prints everything that is typed in between the parenthesis.
Detailed explanation-2: -Create the following C program and name the source file hello.c : #include <stdio.h> int main(void) printf("Hello World!"); return 0; Compile the program: Run the program by entering the following command: ./hello. More items
There is 1 question to complete.