Home > Back-end >  Write a program
Write a program

Time:11-13


1, using the random function to produce 100 integers (2 to 100), and display;

2, using the method of bubble sort of these number is smallest, and will be sorted data display;

3, design display menu: tip: please enter your data to find out, from the keyboard input 5, 15, 25, 55, 18 to find such as data (binary search implementation), find tips to find the location of the number (and prompt to find), didn't find tips didn't find (and prompt to find number), enter 1 exit find, an open-book test, can go online to check, also can check experiment instruction and teaching materials.



  • Related