正在加载图片...
例71(2接上页) f printf("\n%ld\t%20slt%c t%f", student 1. num, student 1 name, studentl sex, student I score) printf("nold%020sIt%cIt%of", student2 num, student2 name, student2sex 语 student2 score) printf("n%old\to020sltocIt%of", student3 num, student3 name, student3sex 程 student3 score); 序设计 运行情况如下: 输入: Lilin<CR 960001 Lilin M 65 960002 Zhang hong li w 98 960001 Lili 60 程序演刁 环 境 返回7.1.2目录例7.1(2接上页) 《 C 语 言 程 序 设 计 》(Visual C++ .6 0 环 境 ) 返回7.1.2目录 printf("\n%ld\t%20s\t%c\t%f",student1.num,student1.name,student1.sex, student1.score); printf("\n%ld\t%20s\t%c\t%f",student2.num,student2.name,student2.sex, student2.score); printf("\n%ld\t%20s\t%c\t%f",student3.num,student3.name,student3.sex, student3.score); } 运行情况如下: 输入:Lilin< CR > 960001 Lilin M 65 960002 Zhang hong li W 98 960001 Lilin M 65 程序演示
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有