C语言帝国

X 我知道了TIPS:左右滑动导航栏可以查看更多栏目

订阅RSS
  • 首页
  • C语言帝国QQ群
  • 首页
  • C语言帝国QQ群

redmay1986 的 站内主页

2008
05-26

求助!~ VIEW

redmay1986编程问题提问区3 条评论

#include "stdio.h"struct {char name[8];float scr; }a[4];main(){float sum=0;int i;for(i=0;i<4;i++){printf("\nname:");scanf("%s",a[i].name);printf("scr:");scanf("%f",a[i].scr);sum+=a[i].scr;}printf(".... Read More >
2008
05-23

求助!~ VIEW

redmay1986编程问题提问区一条评论

#include <stdio.h>#define num 3struct mem{  char name[8]; char phone[10];};main(){ struct mem man[num]; int i; for(i=0;i<num;i++) {  printf("input name:\n");  scanf("%s",man[i].name);  p.... Read More >
作者档案

昵称:redmay1986

邮箱:lihongmei8651@hotmail.com

返回顶部     登录  注册   网站地图   闽ICP备05035124号-7
©2013 C语言帝国