SlideShare une entreprise Scribd logo
1  sur  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
}


}

Contenu connexe

En vedette

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

En vedette (7)

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

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

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
 

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

Plus de ชญานิษฐ์ ทบวัน

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

Plus 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
 

Dernier

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 DataExhibitors Data
 
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
 
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
 
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
 
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...lizamodels9
 
Unlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfUnlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfOnline Income Engine
 
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
 
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
 
Event mailer assignment progress report .pdf
Event mailer assignment progress report .pdfEvent mailer assignment progress report .pdf
Event mailer assignment progress report .pdftbatkhuu1
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetDenis Gagné
 
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
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
 
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
 
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 DelhiCall Girls in Delhi
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxWorkforce Group
 
A305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdfA305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdftbatkhuu1
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Serviceritikaroy0888
 
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
 

Dernier (20)

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
 
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
 
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
 
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
 
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
Call Girls In Holiday Inn Express Gurugram➥99902@11544 ( Best price)100% Genu...
 
Unlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfUnlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdf
 
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
 
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
 
Event mailer assignment progress report .pdf
Event mailer assignment progress report .pdfEvent mailer assignment progress report .pdf
Event mailer assignment progress report .pdf
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
 
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
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
 
Best Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in IndiaBest Basmati Rice Manufacturers in India
Best Basmati Rice Manufacturers in India
 
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
A305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdfA305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdf
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
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
 

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

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