practice programming problems -2

Q1.)Write a Program to Add two numbers.

Explanation: Using two variables num1 and num 2 store the numbers to be added and print the sum.

Code:
const num1 = 5;
const num2 = 3;
console.log(num1+num2);

 Output: 8

Q1.)Write a Program to multiply two numbers

Explanation: multiply two numbers and displaying the output Take two numbers num1 and num2 then display the sum.
 Input: 9 , 10 
Code: 
num1 = 9
num2 = 10
print(num1*num2)

 Output: 90