Question: missing a braces somewhere using System; using static System.Console; using System.Globalization; class SalesTransactionDemo { static void Main ( ) { private string name; private double
missing a braces somewhere
using System;
using static System.Console;
using System.Globalization;
class SalesTransactionDemo
static void Main
private string name;
private double salesAmount;
private double commission;
public SalesTransactionDemostring name, double salesAmount, double rate
this.name name;
this.salesAmount salesAmount;
this.commission salesAmount rate;
public SalesTransactionDemostring name, double salesAmount
this.name name;
this.salesAmount salesAmount;
this.commission ;
public SalesTransactionDemostring name
this.name name;
this.salesAmount ;
this.commission ;
public static double GetRate
return RATE;
string nameall $changename and changename;
double SalesAmountall changesalesAmount changesalesAmount;
return new SalesTransactionDemonameall, SalesAmountall, RATE;
public void Display
WriteLineSalesperson: name;
WriteLineSales Amount: salesAmount.ToStringC CultureInfo.GetCultureInfoenUS;
WriteLineCommission: commission.ToStringC CultureInfo.GetCultureInfoenUS;
WriteLineCommission Rate: RATE.ToStringP CultureInfo.InvariantCulture;
WriteLine;
Write your code here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
