Skip to main content

Posts

Showing posts from March, 2020

Uri 1001 solution

Before to see the solution, make sure you have tried many times. Uri 1001 solution in C : #include <stdio.h> int main() {     int A,B,C;     scanf("%d %d",&A,&B);     C=A+B;     printf("X = %d\n",C);       return 0; } Uri 1001 in C++; #include <iostream> using namespace std; int main() {     int A,B,C;     cin>>A>>B;     C=A+B;     cout<<"X = "<<C<<endl;          return 0; }