1:先看一个顺序结构编程,代码如下: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication31 { class Program { static void Main(string[] args) { double salse = 10001.25; double…