Please write a program that receives 5 numbers in an array, then makes those numbers in ascending order by using bubble-sort.
**Use the template given below**
Code (Template)
#include <stdio.h> int main(){ int number[5]; // Do not change int size = 5, temporary; // Do not change for(int i=0;i<size;i++){ // Do not change scanf("%d",&number[i]); // Do not change } // Do not change // Your conditions start from here return 0; }
Input 1
77 22 88 11 22
Output 1
11 22 22 77 88
Input 2
34 32 12 64 2
Output 2
2 12 32 34 64
Hidden content!#include <stdio.h>#include <stdlib.h>int main(int argc, char *argv[]){ ** * *** * * * * * * x[] = {77,22,88,11,22}; * * ** *** * ** ** * *** * size = 5; * * * * * * * * ** ** * * print the array */