Input and Output Hackerrank Solution CPP
If You want Explanation Watch Video:
Sample Input
1 2 7
Sample Output
10
Code:
#include <cmath>#include <cstdio>#include <vector>#include <iostream>#include <algorithm>using namespace std;
int main() { int a,b,c; cin>>a>>b>>c; int sum = 0; sum = sum + a+ b+c; cout<<sum; return 0;}
Comments
Post a Comment