You are on page 1of 2

1|Page

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Factura_RQP
{
class Program
{
static void Main(string[] args)
{
do
{
Console.WriteLine("Favor de ingresar el nombre del
producto: ");
string product = Console.ReadLine();
Console.WriteLine("\nFavor de ingresar la cnatidad del que
desea comprar del producto: ");
int Quantity = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("\nFavor de ingresar el precio por
unidad: ");
double Price = Convert.ToDouble(Console.ReadLine());

double RQ = Quantity * Price;


double ITBIS = RQ * 0.18;
double RQ1 = RQ + ITBIS;

Console.Write("\n *****==================== Ricardo Quiroz


==================================*****\n");
Console.WriteLine("\nEl monto Subtotal es de: {0} \n",
RQ);
Console.WriteLine("\nEl monto con ITBIS es dee: {0} \n",
ITBIS);
Console.WriteLine("\nTotal a pagar: {0} \n\n\n", RQ1);
}
while (true);
}
}
}

2|Page

You might also like