Suva Programming
Blog about C++ and other programming source code.
Pages
Home
Privacy Policy
Disclaimer
Sunday 21 June 2020
CPP Program of a logic
Source Code :
#include<iostream>
#include<studio.h>
#include<conio.h>
using namespace std;
int main ()
{
int x,y,z;
cout<<"Enter x value: "<<x;
cout<<"Enter y value: "<<y;
cin>>x>>y;
z=x+y;
return 0;
}
Program Output :
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment