Search for question
Question

2. You are being tasked to create a code that differentiates between variables in an array. You are asked to note frequency of variable occurrence and then re-order the entered arrays

variables from smallest to largest. You will be using your Student ID. You will hard-code your entry in your code. This means that you will describe for the source code what you are entering directly, you will not enter from external sources or generating it at runtime. You will need to do a loop. (hint: https://www.tutorialspoint.com/cprogramming/c_loops.htm) You will need to use a bubble code to sort variables. (hint: https://www.geeksforgeeks.org/bubble-sort/) Frequency hints: https://www.geeksforgeeks.org/sort-elements-by- frequency/ Provide full code with your name, date and time of run. Provide your output. Need typed solutions Accessibility Mode ✓Download

Fig: 1