當前位置:編程學習大全網 - 網站源碼 - c語言問題快救救我哦快炸了,卡在這老過不了

c語言問題快救救我哦快炸了,卡在這老過不了

#include<stdio.h>

typedef?struct?student{

int?age;

float?height;

}?stu;

int?main(){

stu?a[2];

for?(int?i=0;?i<2;?i++)?{

scanf("%d%f",&a[i].age,&a[i].height);

}

printf("Amy?is?:%dyears?old?%.fcm\n",a[0].age,a[0].height);

printf("Shelon?is:%dyears?old?%.fcm\n",a[1].age,a[1].height);

return?0;

}

依次輸出Amy和Shelon的年齡體重,妳的源代碼錯的有點離譜.....

  • 上一篇:qQ裏面下載的源碼文件在哪裏
  • 下一篇:股市LTSH值意味著什麽?
  • copyright 2024編程學習大全網