MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

ALGORITHMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The following algorithm should take a numerical input, and output the 1 to 12 times table for that number.Identify the correct algorithm
A
number=input("Enter a number")for x = 1 to 12print(number*x)next x
B
number=input("Enter a number")for x = 0 to 12print(number * x)next x
C
number=input("Enter a number")for x = 1 to 12print(number X x)next x
D
number=input("Enter a number")for x = 1 to 12print(number*number)next x
Explanation: 
There is 1 question to complete.