#include <stdio.h>
using namespace std;
float arti,ct,iva,tp;
int i;
void captura();
void impresion();
int main()
{
for(i=1;i<=5;i++)
{
cout <<"INGRESA EL ARTICULO"<<endl;
cin>>arti;
ct=ct+arti;
}
cout <<"LA COMPRA TOTAL ES "<<ct<<endl;
iva=ct*0.016;
cout <<"EL IVA TOTAL ES "<<iva<<endl;
tp=ct+iva;
cout <<"EL TOTAL A PAGAR ES "<<tp<<endl;
cout<<" __ "<<endl;
cout<<" .' '. "<<endl;
cout<<" _.-'/ | \ "<<endl;
cout<<" _.- ,| / 0 `-. "<<endl;
cout<<" |\ .- `---.__.'=====================-, "<<endl;
cout<<" \ '-'` .___.--._)=========================| "<<endl;
cout<<" \ .' | | "<<endl;
cout<<" | /,_.-' | GUSTAVO | "<<endl;
cout<<" _/ _.'( | A SUS | "<<endl;
cout<<" / ,-' \ \ | ORDENES | "<<endl;
cout<<" \ \ `-' | | "<<endl;
cout<<" `-' '-------------------------' "<<endl;
return 0;
}

No hay comentarios.:
Publicar un comentario