Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View kapilepatel's full-sized avatar

Kapil Patel kapilepatel

View GitHub Profile
@kapilepatel
kapilepatel / XOR-Truth-Table.csv
Last active May 20, 2023 14:01
XOR Truth table
Input 1 Input 2 XOR (i1 i2)
1 1 0
1 0 1
0 1 1
0 0 0
@kapilepatel
kapilepatel / bubblesort.cpp
Created April 17, 2022 19:51
Bubble sort CPP C++ C Plus Plus
#include <iostream>
using namespace std;
void printarr(int arr [], int n)
{
for(int i=0; i<n; i++)
{
cout <<arr[i] << " ";
}
cout << "\n";