swattw

Taiwan Consenses in C#

Jan 6th, 2019
415
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.50 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace ConsoleApp1
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.      
  13.  
  14.         {
  15.             Boolean TaiwanConsenses=true; //declare Taiwan Consense as boolean
  16.             int Country, System;    //declare Country and System as intger
  17.             Console.WriteLine("請輸入台灣共識的狀況是幾國?");
  18.             Country = Convert.ToInt32( Console.ReadLine());
  19.             Console.WriteLine("請輸入台灣共識狀況是幾制?");
  20.             System = Convert.ToInt32(Console.ReadLine());
  21.  
  22.             if (Country == 1)//if Taiwan and China belongs to one same country
  23.             {
  24.                 if (System == 1) //
  25.                 {
  26.                     Console.WriteLine("台灣中國一邊一國");
  27.                     TaiwanConsenses = true;
  28.                 }
  29.                 if (System !=1)// if Taiwan and China are one country two system
  30.                 {
  31.                     TaiwanConsenses = false; //than you dont have taiwan consenses
  32.  
  33.                 }
  34.             }
  35.             else if (Country == 2) {
  36.                 TaiwanConsenses = true;
  37.             }
  38.  
  39.             if (TaiwanConsenses)
  40.             {
  41.                 Console.WriteLine("台灣絕大多數的民意,都不會接受一國兩制");
  42.  
  43.             }
  44.             else
  45.             {
  46.                 Console.WriteLine("習近平:九二共識就是:「海峽兩岸同屬一個中國,共同努力謀求國家統一」,「和平統一、一國兩制」是實現國家統一的最佳方式");
  47.                 Console.WriteLine("正在安裝「习近平新时代中国特色社会主义思想」......請按任意鍵繼續。");
  48.                 Console.ReadLine();
  49.                 Console.WriteLine("安裝完畢。");
  50.                 Console.WriteLine("正在反安裝「自由」......請按任意鍵繼續。");
  51.                 Console.ReadLine();
  52.                 Console.WriteLine("安裝完畢。");
  53.                 Console.WriteLine("正在反安裝「民主」......請按任意鍵繼續。");
  54.                 Console.ReadLine();
  55.                 Console.WriteLine("安裝完畢。");
  56.                 Console.WriteLine("正在反安裝「人權」......請按任意鍵繼續。");
  57.                 Console.ReadLine();
  58.                 Console.WriteLine("兩岸一家親 <3");
  59.  
  60.  
  61.             }
  62.  
  63.             Console.ReadLine();
  64.            
  65.  
  66.         }
  67.     }
  68. }
Add Comment
Please, Sign In to add comment