精華區beta NTUBA92 關於我們 聯絡資訊
(其實今天發的講義裡最後面就有HomeWork的題目了, post在這邊是給大部分沒有去的人看的) Homework #5 ˙Objectives: to get familiar with array processing ˙The problem: Given an array of n integer scores ranging from 0 to 100, (1) report the statistics on these scores including total, count, average, median, min, max, and standard deviation, and (2) produce two graphical displays, namely histogram and bar chart, of the distribution of scores as shown below: cnt % grp 2 10 100 |** (histogram) 4 20 90+ |**** ...... 0 0 10- | * * * * (bar chart) * * ------------------------------------- grp 100 90+ 80+ 70+ ..... 10+ 10- % 10 20 ........... 0 cnt 2 4 ............. 0 (p.s. standard deviation = 標準差) -- 浪漫的故事.. 像是倒映在淡水的夜景... 一幕幕的..就此展開..浮散... -- ※ 發信站: 批踢踢實業坊(ptt.twbbs.org) ◆ From: olf.m7.ntu.edu.tw