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 = "<
BlogThis!
Share to X
Share to Facebook
Newer Posts
Older Posts
Home
Subscribe to:
Posts ( Atom )