View Code of Problem 1

#include <iostream>
using namespace std;
int main(){
  int a,b;
  cin >> a;
  b=a/10+a%10;
  cout << b;
}

Double click to view unformatted code.


Back to problem 1