這個(gè)題哪兒錯(cuò)了?
using System;
using System.Collections.Generic;
using System.Text;
namespace Test
{
? ? class Program
? ? {
? ? ? ? static void Main(string[] args)
? ? ? ? {
? ? ? ? ? ? double salary = 6000.00;//基本工資
? ? ? ? ? ? double prize = 3200.00;//獎(jiǎng)金
? ? ? ? ? ? double tax = 4500.00;//交稅
? ? ? ? ? ? Console.WriteLine("我的工資獎(jiǎng)金總額是{0}元",salary+ prize);
? ? ? ? ? ? Console.WriteLine("我的稅后收入是{0}元",salary+ prize- tax);
? ? ? ? }
? ? }
}
2017-01-13
這個(gè)題沒有錯(cuò)誤呀!
2016-11-29
把WriteLine改為Write馬上成功
2016-09-27
答案有錯(cuò),你放在vs中運(yùn)行是對的