I/O Operations You and Me



INPUT
28
24
OUTPUT
I am 28
You are 24
We are around 26
TEST CASE 2 

INPUT
25
21
OUTPUT
I am 25
You are 21
We are around 23



#include <iostream>
using namespace std;
int main() {
 int a,b,c;
  cin>>a;
  cin>>b;
  c=(a+b)/2;
  cout<<"I am "<<a;
  cout<<"\nYou are "<<b;
  cout<<"\nWe are around "<<c;
 return 0;
}

Comments

Popular Posts