Input and Output

Sort by

recency

|

754 Discussions

|

  • + 0 comments

    int main() {

    int a,b,c; cin>>a>>b>>c; cout<<(a+b+c); return 0; }

  • + 0 comments

    int main() { int a,b,c,sum; cin>>a>>b>>c; sum=a+b+c; cout<

  • + 0 comments

    i have been facing the same issue on my site Horas Espejo but i install this to get rid of problem using namespace std; int sum(int a, int b , int c){ return a+b+c; }

    int main() { int a; int b; int c; cin>>a >>b >> c; cout <

  • + 0 comments

    this is my c++ code but idk why it's still saying wrong

    
    

    include

    using namespace std;

    int a,b,c, sum; int main(){ a= 1, b = 2, c = 7; sum = a+ b + c; cout<<"3 numbers: "<

    return 0;
    

    }

    
    
  • + 0 comments

    My C++ code

    int main() {
        /* Enter your code here. Read input from STDIN. Print output to STDOUT */ 
        int a(0),b(0),c(0);
        cin >> a >> b >> c;
        cout << a + b + c <<endl;  
        return 0;
    }