A. Add – Codeforces Problem Solution in C++

Disclaimer: Make sure you tried enough before checking the solution

Problem: https://codeforces.com/group/MWSDmqGsZm/contest/223205/problem/A

#include<bits/stdc++.h>
using namespace std;
int sum(int num1 , int num2){
	int total = num1 + num2;
	return total;
}
/*
inputs    ==> outputs

*/
int main()
{
	int num1,num2;
	cin>>num1>>num2;
	int result = sum(num1,num2);
	cout<<result;
}

Assiut University Training – Newcomers Solution Functions

Leave a Comment