Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Frontend/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
body {
height: 100vh;
width: 100vw;
background-color: aqua;
}

.box {
background-color: aquamarine;
height: 20rem;
width: 20rem;
}
14 changes: 12 additions & 2 deletions linear-search.c
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
#include <stdio.h>
void display()
void display(int arr[])
{
// display code goes here
printf("the array is: ");
for(int i=0; i<9; i++)
{
printf(" %d ", arr[i]);
}

}
int linearSearch()
int linearSearch(int arr[], int key)
{
// linear search code goes here

}
int main()
{
int arr[] = {5, 3, 7, 9, 10, 12, 7, 2, 4};
// main program

display(arr);


return 0;
}