最贊回答 / Henry_pan
?{? ? ? ? static void Main(string[] args)? ? ? ? {? ? ? ? ? ? double price = 4388;//手機的售價? ? ? ? ? ? double salary = 4978.67;//本月實發工資? ? ? ? ? ? if (salary>=price)//請在這里補充條件判斷? ? ? ? ? ?{?? ? ? ? ? ? ? ?Console.WriteLine("這月工資夠買手機!");? ? ? ? ? ? ? ?? ?...
2020-03-17
最新回答 / weixin_慕函數1480334
namespace ConsoleApplication1{? ? class Program? ? {? ? ? ? static void Main(string[] args)? ? ? ? {? ? ? ? ? ? Console.WriteLine("Please enter the weight:");? ? ? ? ? ? double sum;? ? ? ? ? ? int Weight = Convert.ToInt32(Console.ReadLine());? ? ? ? ? ? i...
2020-03-10
最贊回答 / qq_醉聽風雨_0
using System;using System.Collections.Generic;using System.Text;namespace projGetMaxScore{? ? class Program? ? {? ? ? ? static void Main(string[] args)? ? ? ? {? ? ? ? ? ? string[,] chengji=new string[,]{? ? ? ? ? ? ? ? {"吳松","89"},{"錢東宇","90"},? ? ? ? ? ...
2020-03-05
最贊回答 / 魚想吃貓
對于(&&,||),運算的對象是邏輯值,也就是True/False &&相當與中文的并且,||相當于中文的或者?。(叫做邏輯運算符又叫短路運算符) 對于(&,|),運算的對象是位,也就是1/0,叫做位運算符
2020-03-05
最贊回答 / qq_慕斯8036334
?for(int?i=0;i<grade.Lenght;i++):→LengthConsole.Write("分數最高的是{0},分數是{1}" ,y,x);:→建議這么寫?string?y; :→定義完字符串要給他量→string y=name[0];
2020-03-03