Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started