<commit_before>#include <cstdio>
#include <iostream>

using namespace std;

//A program which swaps two inputs using refrences
//note that if you try use int x and int y instead of int &x and int &y, the swap function does not work

void swap(int &x, int &y);

int main() {

	int a = 100;
	int b = 50;

	

	cout << "value of a before swapping is" << endl;
	cout << a <<endl;
	cout << "value of b before swapping is"<<endl;
	cout << b<<endl;

	swap(a, b);<commit_msg>Modified to take console input<commit_after>#include <cstdio>
#include <iostream>

using namespace std;

//A program which swaps two inputs using refrences
//note that if you try use int x and int y instead of int &x and int &y, the swap function does not work

void swap(int &x, int &y);

int main() {



	int a;
	int b;

	cout << "Enter First Integer" << endl;
	cin >> a;
	cout << "Enter Second Integer" << endl;
	cin >> b;

	cout << "value of a before swapping is" << endl;
	cout << a <<endl;
	cout << "value of b before swapping is"<<endl;
	cout << b<<endl;

	swap(a, b);
{'fraction_non_alphanumeric': 0.1287223823246878, 'fraction_numerical': 0.004803073967339097, 'mean_word_length': 3.550218340611354, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6663238', 'n_tokens_mistral': 374, 'n_tokens_neox': 353, 'n_words': 163}