代碼錯誤及時幫我改正,謝謝
#include
int main()//這里是主函數(shù)
{
/*
? ? 定義年份
*/ ??
??? int year ; ??
????year = 2017; ??
??? printf("this year is %d,year\n");//顯示年份 ??
??? printf("i am a student");//各位師兄師姐看到我有什么代碼問題,及時告訴我,我會糾正下來 ??? return 0;
}
#include
int main()//這里是主函數(shù)
{
/*
? ? 定義年份
*/ ??
??? int year ; ??
????year = 2017; ??
??? printf("this year is %d,year\n");//顯示年份 ??
??? printf("i am a student");//各位師兄師姐看到我有什么代碼問題,及時告訴我,我會糾正下來 ??? return 0;
}
2017-08-05
舉報
2017-08-05
#include <stdio.h>
int main()//這里是主函數(shù)
{
/*
? ? 定義年份
*/ ??
??? int year ; ??
????year = 2017; ??
??? printf("this year is %d,year\n",year);//顯示年份 ? ? ? 沒有調(diào)用定義的year變量
??? printf("i am a student");?
????return 0;
}