Write a program that will prompt the user to input ten integer values. The program will display the smallest and greatest of those values. It also displays the value that occur the most.
寫一個程式 輸入十整數 找出最小值、最大值、眾數
Example input:
100 5 5 7 89 62 54 611 1 87
Example output:
Greatest:611 Smallest:1 The most occurring item:5
Example input 2:
100 5 5 7 7 62 54 611 1 87
Hidden content!* * * * ** * * ** int num[10],s[10];int i,j,min,max,many,smax;int main(){* ** * * ** * {