We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
int main() {
/* Enter yourstr code here. Read input from STDIN. Print output to STDOUT */
int a;
int b;
int c;
if (a,b,c>=1 && a,b,c <= 1000){
int s;
cin>> a>>b>>c;
s=a+b+c;
cout<< s ;}
return 0;
}
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Input and Output
You are viewing a single comment's thread. Return to all comments →
include
include
include
include
include
using namespace std;
int main() { /* Enter yourstr code here. Read input from STDIN. Print output to STDOUT */
int a; int b; int c; if (a,b,c>=1 && a,b,c <= 1000){ int s; cin>> a>>b>>c; s=a+b+c; cout<< s ;}
}