Question
I need the program written in C# There are included several pages of the LAB task C programming also text file with data. I found
I need the program written in C#
There are included several pages of the LAB task C programming
also text file with data.
I found here already done programs written in C++ but I don't know how to makeover them
page1
page 2
page 3
Selection Sort C Code
void selection_sort( int a[], int size )
{
int i, j, temporary, minimum;
for ( i = 0; i
minimum = i; // list the first entry as the default minimum
for ( j = i + 1; j
if ( a[ minimum ] > a[j]) minimum = j; // found a smaller one, so make it the minimum
// perform the swap of the data
temporary = a[i];
a[i] = a[ minimum ];
a[ minimum ] = temporary;
}
return;
}
Bubble Sort C Code
void bubble_sort( int a[ ], int n )
{
int i, j, temporary;
for( i = 0; i
for ( j = 0; j
if ( a[ j ] > a[ j + 1 ] )
{ temporary = data[ j ];
data[ j ] = data[ j + 1 ];
data[ j + 1 ] = temporary;
}
return;
}
Text File:
Splish Splash | |
Bobby Darin | |
153 | |
At The Hop | |
Danny & The Juniors | |
135 | |
16 Candles | |
The Crests | |
213 | |
Rockin' Robin | |
Bobby Day | |
178 | |
Wake Up Little Susie | |
The Everly Brothers | |
151 | |
Rock Around The Clock | |
Bill Haley & His Comets | |
168 | |
Earth Angel | |
The Penguins | |
136 | |
That'll Be The Day | |
Buddy Holly & The Crickets | |
147 | |
Little Darlin' | |
The Diamonds | |
181 | |
Blueberry Hill | |
Fats Domino | |
178 | |
Long Tall Sally | |
Little Richard | |
156 | |
Yakety Yak | |
The Coasters | |
181 | |
Donna | |
Ritchie Valens | |
178 | |
Tequila | |
The Champs | |
171 | |
Do You Wanna Dance | |
Bobby Freeman | |
183 | |
The Great Pretender | |
The Platters | |
178 | |
Blue Suede Shoes | |
Carl Perkins | |
183 | |
Why Do Fools Fall In Love | |
Frankie Lymon & The Teenagers | |
198 | |
Tears On My Pillow | |
Little Anthony & The Imperials | |
181 | |
Great Balls Of Fire | |
Jerry Lee Lewis | |
177 | |
Things | |
Bobby Darin | |
176 | |
Monster Mash | |
Bobby (Boris) Pickett | |
189 | |
Blame It On The Bossa Nova | |
Edyie Gorme | |
238 | |
Sealed With A Kiss | |
Brian Hyland | |
183 | |
I Can't Stop Loving You | |
Ray Charles | |
180 | |
Let's Dance | |
Chris Montez | |
156 | |
Love Me Tender | |
Richard Chamberlain | |
188 | |
Dance On Little Girl | |
Paul Anka | |
263 | |
At Last | |
Etta James | |
269 | |
Together | |
Connie Francis | |
229 | |
Go Away Little Girl | |
Steve Lawrence | |
183 | |
Paper Roses | |
Paul Anka | |
228 | |
Does Your Chewing Gum Lose It's Flavor | |
Lonnie Donegan | |
182 | |
* Billboards Top 40 Best Pop Songs of 2015 | |
Uptown Funk! | |
Mark Ronson Featuring Bruno Mars | |
302 | |
See You Again | |
Wiz Khalifa Featuring Charlie Puth | |
393 | |
Trap Queen | |
Fetty Wap | |
281 | |
Sugar | |
Maroon 5 | |
303 | |
Shut Up And Dance | |
Walk the Moon | |
399 | |
Blank Space | |
Taylor Swift | |
271 | |
Watch Me | |
Silent | |
303 | |
Earned It | |
The Weeknd | |
218 | |
The Hills | |
The Weeked | |
203 | |
Cheerleader | |
OMI | |
410 | |
Cant Feel My Face | |
The Weeknd | |
343 | |
Love Me Like You Do | |
Ellie Goulding | |
202 | |
Take Me To Church | |
Hozier | |
363 | |
Bad Blood | |
Taylor Swift Featuring Kendrick Lamar | |
300 | |
Lean On | |
Major Lazer & DJ Snake featuring M0 | |
502 | |
Want To Want Me | |
Jason Derulo | |
478 | |
Shake It Off | |
Taylor Swift | |
287 | |
Where Are U Now | |
Skrillex & Diplo with Justin Bieber | |
412 | |
Fight Song | |
Rachel Platten | |
382 | |
679 | |
Fetty Wap Featuring Remy Boyz | |
488 | |
Lips Are Movin | |
Meghan Trainor | |
356 | |
Worth It | |
Fifth Harmony Featuring Kid Ink | |
401 | |
Post To Be | |
Omarion Featuring Chris Brown & Jhene Aiko | |
339 | |
Honey, Im Good | |
Andy Grammer | |
333 | |
Im Not The Only One | |
Sam Smith | |
288 | |
Good For You | |
Selena Gomez featuring A$AP Rocky | |
513 | |
All About That Bass | |
Meghan Trainor | |
302 | |
Style | |
Taylor Swift | |
379 | |
Hotline Bling | |
Drake | |
403 | |
Hey Mama | |
David Guetta Featuring Nicki Minaj, Bebe Rexha & Afrojack | |
471 | |
G.D.F.R. | |
Flo Rida Featuring Sage The Gemini & Lookas | |
361 | |
What Do You Mean? | |
Justin Bieber | |
302 | |
Photograph | |
Ed Sheehan | |
356 | |
Hello | |
Adele | |
467 | |
Stitches | |
Shawn Mendes | |
298 | |
Talking Body | |
Tove Lo | |
418 | |
Jealous | |
Nick Jonas | |
320 | |
Time Of Our Lives | |
Pitbull & Ne-Yo | |
396 | |
Locked Away | |
R. City Featuring Adam Levine | |
351 | |
* Johnny Cash Greatest Hits | |
Man In Black | |
Johnny Cash | |
178 | |
Rusty Cage | |
Johnny Cash | |
203 | |
A Boy Named Sue | |
Johnny Cash | |
186 | |
One Piece at a Time | |
Johnny Cash | |
203 | |
Jackson | |
Johnny Cash | |
188 | |
Sunday Morning Coming Down | |
Johnny Cash | |
209 | |
Hurt | |
Johnny Cash | |
224 | |
Ring of Fire | |
Johnny Cash | |
202 | |
Folsom Prison Blues | |
Johnny Cash | |
212 | |
I Walk The Line | |
Johnny Cash | |
234 |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started