URI 1001 Problem Solution . #URI #Problem #Solution #1001 #C++ #C

Hello, Welcome to Programming. Hope you did ' Hello World'. Now Here a simple problem and solution of programming taken from URI online judge.

problem details: https://www.urionlinejudge.com.br/judge/en/problems/view/1001

Solution: IN C++

/******** Try yourself First  *********/

#include <iostream>

using namespace std;

int main() {    
     int A,B,X;
     cin>>A>>B;
     X = A+B;
     cout<<"X = "<<X<<endl;
    

    return 0;
}



URI 1001 Problem Solution . #URI #Problem #Solution #1001  #C++ #C 

Comments

  1. Nice post. Specially for beginner's like me. Thanks

    ReplyDelete

Post a Comment

Thanks for your message