SlideShare ist ein Scribd-Unternehmen logo
1 von 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
}


}

Weitere ähnliche Inhalte

Andere mochten auch

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

Andere mochten auch (7)

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

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

Introduction to ES2015
Introduction to ES2015Introduction to ES2015
Introduction to ES2015kiranabburi
 
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.pdfmanjan6
 
04 Console input output-
04 Console input output-04 Console input output-
04 Console input output-maznabili
 
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 2018Codemotion
 
Mpesa_C# (2)
Mpesa_C# (2)Mpesa_C# (2)
Mpesa_C# (2)Soud Fosi
 
Cis 115 Education Organization / snaptutorial.com
Cis 115 Education Organization / snaptutorial.comCis 115 Education Organization / snaptutorial.com
Cis 115 Education Organization / snaptutorial.comBaileya126
 
Cis 115 Effective Communication / snaptutorial.com
Cis 115  Effective Communication / snaptutorial.comCis 115  Effective Communication / snaptutorial.com
Cis 115 Effective Communication / snaptutorial.comBaileyao
 
CIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.comCIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.comclaric130
 
Javascript - The basics
Javascript - The basicsJavascript - The basics
Javascript - The basicsBruno Paulino
 
Cis 115 Education Organization -- snaptutorial.com
Cis 115   Education Organization -- snaptutorial.comCis 115   Education Organization -- snaptutorial.com
Cis 115 Education Organization -- snaptutorial.comDavisMurphyB99
 
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 williamwordsworth10
 
CIS 115 Redefined Education--cis115.com
CIS 115 Redefined Education--cis115.comCIS 115 Redefined Education--cis115.com
CIS 115 Redefined Education--cis115.comagathachristie208
 

Ähnlich wie คำอธิบายโปรแกรมโบนัส (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
 

Mehr von ชญานิษฐ์ ทบวัน

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

Mehr von ชญานิษฐ์ ทบวัน (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
 

Kürzlich hochgeladen

The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...Any kyc Account
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insightsseri bangash
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876dlhescort
 
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 painsP&CO
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...amitlee9823
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxWorkforce Group
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaShree Krishna Exports
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayNZSG
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 

Kürzlich hochgeladen (20)

The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insights
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through CartoonsForklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
 
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
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in India
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 

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

  • 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 } }