//Muhammad Rafly A19CS5073
//nurul syamira bt amat jifri A19EC0145

#include <iostream>

using namespace std;

void swap(float&, float&);

int main()
{
	float first,	second;
	cout << "Enter the first number ";
	cin >> first;
	
	cout << "Enter the second number ";
	cin >> second;
	
	swap(first, second);
	cout << "The first number has the value of " << first << " Which was the value of the second number " << endl;
	cout << "The second number has the value of " << second << " Which was the value of first number " << endl;
	
	return 0;
}

void swap(float& number1, float& number2)
{
	float temporary = number1;
	
	number1 = number2; 
	
	number2 = temporary;  
}
