C++ Blog
code examples in c++ language
Wednesday, July 16, 2014
C++ program to swap values
#include
#include
int main() { int a,b,temp; cout<<"please enter first value"; cin>>a; cout<<"please enter second value"; cin>>b; temp=a; a=b; b=temp; cout<<"your values after swapping a = "<
No comments :
Post a Comment
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment