当前位置:网站首页>Consolidated expression C case simple variable operation

Consolidated expression C case simple variable operation

2022-07-04 23:55:00 Jinan medical applet champion

Consolidate expression


            #region  expression 74 

            int DemoB;//  So let's define a variable . A cup container that stores the contents of data values .  The name of the container is DemoB, Those data values are like water in a cup  water. 
            DemoB = (1 + 1) + (3 * 8);// 2+24=26     result 
            Console.WriteLine(" The result of the expression is :"+DemoB);

            int demoA;
            demoA = (1 + 3) + (9 - 1);
            Console.WriteLine(" expression 2 The result is :" +demoA);

            int democ;
            int ab = 1;
            int qw = 2;
            //  Add variables , Variable handling 
            democ = (ab + 1) + (qw + 1);// 1+1+2+1=5
            Console.WriteLine(" expression 3 The result is :"+democ);

effect

原网站

版权声明
本文为[Jinan medical applet champion]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/185/202207042347584630.html