COMPUTER SCIENCE AND ENGINEERING
ALGORITHMS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
The following algorithm should take an input and add together two numbers, outputting the result.Identify the correct algorithm
|
Num1=input("Enter the first number")Num2=input("Enter the second number")num3=num1+num2print(Num3)
|
|
num1=input("Enter the first number")num2=input("Enter the second number")num3=num1+num2print(num3)
|
|
num1=input("Enter the first number")num3=input("Enter the secon number")num3=num1+num2print(num3)
|
|
num1=input("Enter the first number")num2=input("Enter the second number")num3=num1+num2print(num2)
|
Explanation:
There is 1 question to complete.