→ sanga:這讓我想到泡沫排序法...可是好像沒用...來亂的 抱歉= = 01/02 20:41
Write a program to process a collection of daily high temperatures.
Your program should count and print the number of hot days
(temperature >= 85 degree), the number of pleasant days
(degree between 60-84), and the number of cold days (degree <=60).
It should also display the category of each temperature. Test your
program on the following data:
55 62 68 74 59 45 41 58 60 67 62 78 82 88 91 92 90 93 87 80 78 79 72 68 61 59
哪位善心人士
幫個忙吧!!
就以目前我會的東西
我寫不出來.......
潘老師!對不起..........
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.123.220.101