输出 10条 学生信息 用结构体存储 用函数形式输入输出 学号 姓名 年龄 出生年月

[复制链接]
查看11 | 回复1 | 2012-12-12 21:31:04 | 显示全部楼层 |阅读模式
#include "stdio.h"struct student{ int number; char name[10]; int age; struct date{int year,month,day;}birthday; };void input (struct student *p,int n);void output (struct student *p,int n);void main(){struct student s[10];input(s,10);output(s,10);//getch();}void input(struct student *p,int n){...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行