SlideShare una empresa de Scribd logo
1 de 5
using System;
      //
class Bonus
      //                Bonus
{
static void Main() {
      //
    Console.WriteLine();
      //               1
    Console.Write("    <<<<= ========= Program Bonus ===========
= >>>>> ");
      //               <<<<= ========= Program Bonus =========== =
>>>>>
Console.WriteLine();
       //               1
Console.WriteLine();
      //               1
Console.Write("Input In sales in Month of 1 = = >> ");
      //               Input In sales in Month of 1 = = >>


double price1 = double.Parse(Console.ReadLine());
            //                  Keybord      Price1
Console.WriteLine();
//                1
Console.Write("Input In sales in Month of 2 = = >> ");
     //             Input In sales in Month of 1 = = >>
double price2 = double.Parse(Console.ReadLine());
     //                    Keybord   Price2
Console.WriteLine();
     //                1


Console.Write("Input In sales in Mount of 3 = = >> ");
     //             Input In sales in Month of 3 = = >>


double price3 = double.Parse(Console.ReadLine());
     //                    Keybord   Price3
Console.WriteLine();
     //                1


Console.Write("Input In sales in Mount of 4 = = >> ");
     //            Input In sales in Month of 4 = = >>
double price4 = double.Parse(Console.ReadLine());
     //                    Keybord   Price4
Console.WriteLine();
     //                1
Console.Write("Input In sales in Mount of 5 = = >> ");
//            Input In sales in Month of 5 = = >>
double price5 = double.Parse(Console.ReadLine());
     //                    Keybord    Price5
Console.WriteLine();
     //                1
Console.Write("Input In sales in Mount of 6 = = >> ");
     //            Input In sales in Month of 6 = = >>
double price6 = double.Parse(Console.ReadLine());
     //                    Keybord    Price6
Console.WriteLine();
     //                1




double total = price1+ price2+ price3+ price4+ price5+ price6;
     //            6                    Total               Toal


Console.WriteLine(" << ==In sales of Very Mount == >> {0:f2} ", total);
     //             << ==In sales of Very Mount == >>
                              total
Console.WriteLine();
     //                1
if (total<=20000)
//        total<=20000
Console.WriteLine("<<< ======== Bonus is {0:f2}
=========>>>",total*10/100);
     //                                       total*10/100


else if (total<=35000)
     //     total<=35000
Console.WriteLine("<< ========Bonus is {0:f2} =========>>>", total
* 15 / 100);
     //                                       total*15/100



else if (total<=70000)
     //     total<=70000
Console.WriteLine("<< ========Bonus is {0:f2} =========>>>", total
* 20 / 100);
     //                                       total*20/100



else
     //
Console.WriteLine("<< ========Bonus is {0:f2} =========>>>", total
* 40 / 100);
     //                                       total*40/100



System. Console.ReadLine();
//                        Keybord 1
}


}

Más contenido relacionado

Destacado

Destacado (7)

วิธีการคำนวณโบนัสพนักงาน
วิธีการคำนวณโบนัสพนักงานวิธีการคำนวณโบนัสพนักงาน
วิธีการคำนวณโบนัสพนักงาน
 
โบนัส
โบนัสโบนัส
โบนัส
 
การคำนวณเกรดและโบนัส
การคำนวณเกรดและโบนัสการคำนวณเกรดและโบนัส
การคำนวณเกรดและโบนัส
 
วิธีทำการคำนวณอย่างเร็วใน Excel
วิธีทำการคำนวณอย่างเร็วใน Excelวิธีทำการคำนวณอย่างเร็วใน Excel
วิธีทำการคำนวณอย่างเร็วใน Excel
 
การใช้สูตรในการคำนวณ โปรแกรม Microsoft Excel
การใช้สูตรในการคำนวณ โปรแกรม Microsoft Excelการใช้สูตรในการคำนวณ โปรแกรม Microsoft Excel
การใช้สูตรในการคำนวณ โปรแกรม Microsoft Excel
 
การคำนวณเงินเดือนสุทธิหลังหักภาษีเงินเดือน 5%
การคำนวณเงินเดือนสุทธิหลังหักภาษีเงินเดือน 5%การคำนวณเงินเดือนสุทธิหลังหักภาษีเงินเดือน 5%
การคำนวณเงินเดือนสุทธิหลังหักภาษีเงินเดือน 5%
 
สูตรคำนวน
สูตรคำนวนสูตรคำนวน
สูตรคำนวน
 

Similar a คำอธิบายโปรแกรมโบนัส

Please help with this. program must be written in C# .. All of the g.pdf
Please help with this. program must be written in C# .. All of the g.pdfPlease help with this. program must be written in C# .. All of the g.pdf
Please help with this. program must be written in C# .. All of the g.pdf
manjan6
 
Mpesa_C# (2)
Mpesa_C# (2)Mpesa_C# (2)
Mpesa_C# (2)
Soud Fosi
 

Similar a คำอธิบายโปรแกรมโบนัส (17)

Bookstore-Project
Bookstore-ProjectBookstore-Project
Bookstore-Project
 
RandomGuessingGame
RandomGuessingGameRandomGuessingGame
RandomGuessingGame
 
C++ TUTORIAL 1
C++ TUTORIAL 1C++ TUTORIAL 1
C++ TUTORIAL 1
 
Introduction to ES2015
Introduction to ES2015Introduction to ES2015
Introduction to ES2015
 
C # (2)
C # (2)C # (2)
C # (2)
 
Please help with this. program must be written in C# .. All of the g.pdf
Please help with this. program must be written in C# .. All of the g.pdfPlease help with this. program must be written in C# .. All of the g.pdf
Please help with this. program must be written in C# .. All of the g.pdf
 
04 Console input output-
04 Console input output-04 Console input output-
04 Console input output-
 
Pablo Magaz | ECMAScript 2018 y más allá | Codemotion Madrid 2018
Pablo Magaz | ECMAScript 2018 y más allá | Codemotion Madrid 2018Pablo Magaz | ECMAScript 2018 y más allá | Codemotion Madrid 2018
Pablo Magaz | ECMAScript 2018 y más allá | Codemotion Madrid 2018
 
Mpesa_C# (2)
Mpesa_C# (2)Mpesa_C# (2)
Mpesa_C# (2)
 
Cis 115 Education Organization / snaptutorial.com
Cis 115 Education Organization / snaptutorial.comCis 115 Education Organization / snaptutorial.com
Cis 115 Education Organization / snaptutorial.com
 
Cis 115 Effective Communication / snaptutorial.com
Cis 115  Effective Communication / snaptutorial.comCis 115  Effective Communication / snaptutorial.com
Cis 115 Effective Communication / snaptutorial.com
 
CIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.comCIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.com
 
Javascript - The basics
Javascript - The basicsJavascript - The basics
Javascript - The basics
 
Cis 115 Education Organization -- snaptutorial.com
Cis 115   Education Organization -- snaptutorial.comCis 115   Education Organization -- snaptutorial.com
Cis 115 Education Organization -- snaptutorial.com
 
Vbreport
VbreportVbreport
Vbreport
 
CIS 115 Education for Service--cis115.com
CIS 115 Education for Service--cis115.com  CIS 115 Education for Service--cis115.com
CIS 115 Education for Service--cis115.com
 
CIS 115 Redefined Education--cis115.com
CIS 115 Redefined Education--cis115.comCIS 115 Redefined Education--cis115.com
CIS 115 Redefined Education--cis115.com
 

Más de ชญานิษฐ์ ทบวัน

สำเนาของ รายชื่อทำงานกับครู2
สำเนาของ รายชื่อทำงานกับครู2สำเนาของ รายชื่อทำงานกับครู2
สำเนาของ รายชื่อทำงานกับครู2
ชญานิษฐ์ ทบวัน
 

Más de ชญานิษฐ์ ทบวัน (20)

Pre o-net job3
Pre o-net job3Pre o-net job3
Pre o-net job3
 
Pre o-net job3 ชุด สอง
Pre o-net job3 ชุด สองPre o-net job3 ชุด สอง
Pre o-net job3 ชุด สอง
 
O net 52 M. 3 Tecnology
O net 52 M. 3 TecnologyO net 52 M. 3 Tecnology
O net 52 M. 3 Tecnology
 
ScoreMiddle156
ScoreMiddle156ScoreMiddle156
ScoreMiddle156
 
scoremidle156
scoremidle156scoremidle156
scoremidle156
 
สำเนาของ รายชื่อทำงานกับครู2
สำเนาของ รายชื่อทำงานกับครู2สำเนาของ รายชื่อทำงานกับครู2
สำเนาของ รายชื่อทำงานกับครู2
 
Flowchart
FlowchartFlowchart
Flowchart
 
Flowchart6
Flowchart6Flowchart6
Flowchart6
 
Flowchart5
Flowchart5Flowchart5
Flowchart5
 
Flowchart3
Flowchart3Flowchart3
Flowchart3
 
Flowchart4
Flowchart4Flowchart4
Flowchart4
 
Flowchart2
Flowchart2Flowchart2
Flowchart2
 
Flowchart1
Flowchart1Flowchart1
Flowchart1
 
ใบงานที่ 1
ใบงานที่ 1ใบงานที่ 1
ใบงานที่ 1
 
report M.4
report M.4report M.4
report M.4
 
Ex 1
Ex  1Ex  1
Ex 1
 
ตัวอย่างทำหัวข้อ Powerpoint
ตัวอย่างทำหัวข้อ Powerpointตัวอย่างทำหัวข้อ Powerpoint
ตัวอย่างทำหัวข้อ Powerpoint
 
Powerpoint
PowerpointPowerpoint
Powerpoint
 
วิธีการทำ Power point
วิธีการทำ Power pointวิธีการทำ Power point
วิธีการทำ Power point
 
วิธีการใช้โปรแกรม Microsoft word 5
วิธีการใช้โปรแกรม Microsoft word 5วิธีการใช้โปรแกรม Microsoft word 5
วิธีการใช้โปรแกรม Microsoft word 5
 

Último

Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Sheetaleventcompany
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
amitlee9823
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
dlhescort
 

Último (20)

(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort ServiceMalegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort ServiceEluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Falcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to ProsperityFalcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to Prosperity
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 MonthsSEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
 
Falcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in indiaFalcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in india
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
 
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
 
Business Model Canvas (BMC)- A new venture concept
Business Model Canvas (BMC)-  A new venture conceptBusiness Model Canvas (BMC)-  A new venture concept
Business Model Canvas (BMC)- A new venture concept
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876
Cheap Rate Call Girls In Noida Sector 62 Metro 959961乂3876
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
 

คำอธิบายโปรแกรมโบนัส

  • 1. using System; // class Bonus // Bonus { static void Main() { // Console.WriteLine(); // 1 Console.Write(" <<<<= ========= Program Bonus =========== = >>>>> "); // <<<<= ========= Program Bonus =========== = >>>>> Console.WriteLine(); // 1 Console.WriteLine(); // 1 Console.Write("Input In sales in Month of 1 = = >> "); // Input In sales in Month of 1 = = >> double price1 = double.Parse(Console.ReadLine()); // Keybord Price1 Console.WriteLine();
  • 2. // 1 Console.Write("Input In sales in Month of 2 = = >> "); // Input In sales in Month of 1 = = >> double price2 = double.Parse(Console.ReadLine()); // Keybord Price2 Console.WriteLine(); // 1 Console.Write("Input In sales in Mount of 3 = = >> "); // Input In sales in Month of 3 = = >> double price3 = double.Parse(Console.ReadLine()); // Keybord Price3 Console.WriteLine(); // 1 Console.Write("Input In sales in Mount of 4 = = >> "); // Input In sales in Month of 4 = = >> double price4 = double.Parse(Console.ReadLine()); // Keybord Price4 Console.WriteLine(); // 1 Console.Write("Input In sales in Mount of 5 = = >> ");
  • 3. // Input In sales in Month of 5 = = >> double price5 = double.Parse(Console.ReadLine()); // Keybord Price5 Console.WriteLine(); // 1 Console.Write("Input In sales in Mount of 6 = = >> "); // Input In sales in Month of 6 = = >> double price6 = double.Parse(Console.ReadLine()); // Keybord Price6 Console.WriteLine(); // 1 double total = price1+ price2+ price3+ price4+ price5+ price6; // 6 Total Toal Console.WriteLine(" << ==In sales of Very Mount == >> {0:f2} ", total); // << ==In sales of Very Mount == >> total Console.WriteLine(); // 1
  • 4. if (total<=20000) // total<=20000 Console.WriteLine("<<< ======== Bonus is {0:f2} =========>>>",total*10/100); // total*10/100 else if (total<=35000) // total<=35000 Console.WriteLine("<< ========Bonus is {0:f2} =========>>>", total * 15 / 100); // total*15/100 else if (total<=70000) // total<=70000 Console.WriteLine("<< ========Bonus is {0:f2} =========>>>", total * 20 / 100); // total*20/100 else //
  • 5. Console.WriteLine("<< ========Bonus is {0:f2} =========>>>", total * 40 / 100); // total*40/100 System. Console.ReadLine(); // Keybord 1 } }