Answer:
using System;
public class Program
{
public static void Main()
{
Console.Write("Enter gross sales: ");
double sales = Convert.ToDouble(Console.ReadLine());
double payment = 200 + (sales*0.09);
Console.Write("total payment for this week is: "+payment);
}
}
Explanation:
May I suppose that you want a program in C# to calculate the week payment? in that case let review a solution:
using System;
public class Program
{
public static void Main()
{
//input the gross sales of the week
Console.Write("Enter gross sales: ");
//convert the string data to double
double sales = Convert.ToDouble(Console.ReadLine());
//use described algorithm to calculate the payment
double payment = 200 + (sales*0.09);
//show the value in console
Console.Write("total payment for this week is: "+payment);
}
}