- using System; /* No idea, was advised to use it */ /*
- Please dont change namespace, Dcoder and class must not be public*/
- //Compiler version 4.0, .NET Framework 4.
- namespace Dcoder
- {
- public class Taxation_department
- {
- public static void Main(string[] args)
- {
- Console.Write("Taxation_Department ");
- Console.Write("\n");
- // Declared variables
- int HourlyRate; int HoursWorked; int totalpay;
- int tax; int netpay; int taxrate;
- Console.Write("--------------------- ");
- Console.Write("\n");
- //Tangiable software converter C++ TO C# CONVERTER TODO TASK: The cout 'flush' manipulator is not converted by C++ to C# Converter: //ORIGINAL LINE: std::cout <<"Au to Us: $"<
- Console.Write("Au to Us: $");
- string buffer = Console.ReadLine();
- HoursWorked = Convert.ToDouble(buffer);
- HoursWorkes = parse.int32(Console.WriteLine())
- totalpay = HourlyRate * HoursWorked;
- tax = 0.3 * totalpay;
- netpay = totalpay - tax;
- Console.Write("--------------------- ");
- Console.Write("\n");
- Console.Write("$1 Aud to Us is $");
- Console.Write(totalpay);
- Console.Write("\n");
- Console.Write("--------------------- ");
- Console.Write(tax);
- Console.Write("\n");
- }
- }
- }
Loading

Mal CoppoPosted Feb 13, 2018, 9:35 AM
Mal CoppoPosted Feb 13, 2018, 8:42 AM