4
1
26
2944
int renshu = 1; //用于儲(chǔ)存人數(shù) Console.WriteLine("請輸入用戶數(shù)量:"); string shul...
Console.WriteLine("您當(dāng)前所在頁面為 魔法師迷你游戲平臺(tái) -> 游戲點(diǎn)擊率"); int xuhao=1; //對第×個(gè)游戲進(jìn)行儲(chǔ)存 ...
int time = 0; //time 表示 游戲時(shí)長 int jizhe; //jizhe1 表示 折扣力度 double yx...
期中作業(yè)1.2(游戲晉級(jí)) 題目 用戶玩游戲,每次玩5局,晉級(jí)標(biāo)準(zhǔn)如下 每次玩游戲不足5局,則不能晉級(jí) 在5局游戲中,如果80%達(dá)到80分以上,則為一級(jí); 如果60%達(dá)到80...
Console.WriteLine("歡迎進(jìn)入魔法師迷你游戲平臺(tái)"); Console.WriteLine("請選擇你感興趣的游戲"); Consol...
for (int i = 1; i <= 9; i++) { for (int y = 1; y <= i; y++) { ...
Console.WriteLine("請輸入一個(gè)數(shù)字"); string shu = Console.ReadLine(); int number =...
string shuzi = ""; do { Console.WriteLine("請用戶輸入數(shù)字"); shuzi = C...
string name = ""; string mima = ""; do { Console.WriteLine("請...
{/** * 編寫程序,估計(jì)一個(gè)職員在65歲退休之前能賺到多少錢。 * 用年齡和起始薪水作為輸入,并假設(shè)職員每年工資增長5%。 * 循環(huán)條件:年...
static void Main(string[] args) {/** * 輸入班級(jí)人數(shù),然后依次輸入學(xué)員成績,計(jì)算班級(jí)學(xué)員的平均成績和總成績 ...
Console.WriteLine("請輸入年份"); string year = Console.ReadLine(); int nianfen =...
Console.WriteLine("請輸入你的名字"); string name = Console.ReadLine(); switch (nam...
Console.WriteLine("請輸入你的年齡"); string yourage = Console.ReadLine(); int age ...
string username = Console.ReadLine(); Console.WriteLine("請輸入密碼"); str...
Console.WriteLine("請輸入密碼"); string mima = Console.ReadLine(); int usermima ...
Console.WriteLine("請輸入一個(gè)數(shù)a"); string a = Console.ReadLine(); int shu1 = Con...
Console.WriteLine("請輸入老蘇的語文成績"); string strchinese=Console.ReadLine(); int ...
Console.WriteLine("請用戶輸入天數(shù)"); String Day=Console.ReadLine(); int tianshu = ...