Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a C# program to compute the profit made for selling goldfish flakes on-lin

ID: 3784742 • Letter: W

Question

Write a C# program to compute the profit made for selling goldfish flakes on-line, using Visual Studio. The wholesale cost for a case of 24-boxes is $118. And the on-line price for retail sales is $9.59 per box plus a shipping cost of $1.35 per box. The on-line listing agency charges a 12% fee of the customer total payment. The payment processing cost is an additional 4% of the total payment. Compute and display the following figures for selling 25 cases of the products: the total wholesale cost for 25 cases; the total revenue for 25 cases of 24 boxes per case, the total listing cost, the total payment processing cost, and the total profit made.

Explanation / Answer

using System.IO;
using System;

class Program
{
static void Main()
{
double wholesale_case=118,retail_per_box=9.59,shipping_box=1.35,total_wholesale,total_retail,retail_ship,total_listing,payment_process,profit;
Console.Write(" ");
Console.Write("Total transactional details are as follows: ");
Console.Write("----------------------------");
Console.Write(" ");

total_wholesale = wholesale_case*25;
Console.Write(" total wholesale cost for 25 cases : {0} ", total_wholesale);
total_retail = retail_per_box*25*24;
Console.Write(" total retail cost for 25 cases : {0} ", total_retail);
retail_ship=(retail_per_box+shipping_box)*25*24;
Console.Write(" total retail cost for 25 cases including shipping : {0} ", retail_ship);
total_listing=0.12*retail_ship;
Console.Write(" total listing cost is : {0} ", total_listing);
payment_process=0.04*(retail_ship+total_listing);
Console.Write(" total payment processing cost is : {0} ", payment_process);
profit=retail_ship-total_wholesale-payment_process-total_listing;
Console.Write(" total profit made is : {0} ", profit);
}
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote