第1关:打印直方图 本关任务:从一个数组中读取数据,并以直方图的形式显示信息。 /*请完善程序使实现功能:打印直方图。*/ #include <stdio.h> #include <math.h> int main() { int a[5];