URI Online Judge Solution | 1001 || Simple summation Problem

URI Online Judge Solution | 1001 || Simple summation Problem  in C++

Problem Number:1001
Problem Level:Beginner
Online Judge:URI
Problem Link:https://www.urionlinejudge.com.br/judge/en/problems/view/1001

URI 1001
Problem No 1001


Solution:

#include <iostream>
using namespace std;
int main() {
   int A, B, X;
   cin >> A >> B;
//Take input A,B               
   X = A + B;//Now add this two                 
   cout << "X = " << X << endl;//now print X and print 'endl' as the problem asked you to solve in this way..
   return 0;//now return value 0
}






















No comments

Powered by Blogger.