Computer Science, asked by akashsingh995508, 11 months ago

WAP to find sum of two numbers

Answers

Answered by karanjotgaidu
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 Anonymous
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