Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

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;	
}
 
PREVIOUS NEXT
Tagged: #write #code #adds #number
ADD COMMENT
Topic
Name
1+4 =