Swap the two variables using divide or multiplication operator
Anonymous
#include using namespace std; int main() { int x = 10, y = 5; // Code to swap 'x' and 'y' x = x* y; y = x / y; x = x / y; cout<<"After Swapping: x ="<
Check out your Company Bowl for anonymous work chats.