Answers for "write a code that adds two number"

C++
1

write a code that adds two number

#include<iostream>
int main()
{
	int num1=0,int num2=0;	
	int sum=0;
	cin>>num1;
	cin>>num2;
	sum=num1+num2;
	std::cout<<sum;
	return 0;	
}
Posted by: Guest on July-30-2021

Code answers related to "write a code that adds two number"

Browse Popular Code Answers by Language