我必須編寫一個程序,讀取學生姓名和ID列表,並根據名字,姓氏和ID對它們進行排序。但目前我的代碼有兩個問題。 #include <stdio.h>
int main() {
char firstName[200][21], lastName[200][51];
unsigned short id[200]; // used short to decrease memory
您好考慮下面的簡單的程序: int main(void)
{
//exercise 1
float num2;
printf("please enter a number \n");
scanf_s("%f", &num2);
printf("the number multiple by 3 is %3.3f\n", num2 * 3);