Answer:
#Ask the user for a number
a = int(input("Enter a number: "))
b = int(input("Enter a number: "))
#Calculate the sum of a and b
sum = a + b
#print the ouput
print(str(a) + " + " + str(b) + " = " + str(sum))
JavaScript:
Let x = 10
Let y = 10
Console.log(x + y)
//outputs 20
C++:
The file is Math.cpp so,
std::cout << "" + y + "" + x
g++ Math.cpp -o Maths
./Maths
//Outputs 20
4.5m questions
5.8m answers