View Code of Problem 1

#include<iostream>
using namespace std;
int main(){
int a,b;
  cin>>a,b;
  count>>(a+b);
  return 0;

}
/*
Main.cc: In function 'int main()':
Main.cc:5:11: warning: right operand of comma operator has no effect [-Wunused-value]
   cin>>a,b;
           ^
Main.cc:6:3: error: 'count' was not declared in this scope
   count>>(a+b);
   ^
*/

Double click to view unformatted code.


Back to problem 1