WAP to find sum of two numbers
Answers
Answered by
2
Answer:
#python program to find sum of two numbers
a = int(input('Enter first number'))
b = int(input('Enter second number'))
Sum = a + b
print("SUM=", Sum)
____________________________________
#WMK
Answered by
3
import Java. util. *;
class sum
{
psvm(string args [])
{
Scanner sc=new Scanner(System.in);
System. out. println("enter 2 nos. ");
int a=sc.nexInt();
int b=sc.nextInt();
System. out. println("the sum is"+ (a+b);
}}
hope it helps!!
#sumedhian ❤❤
Similar questions