Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <conio.h>
- int main()
- {
- char a[20],b[11],c,d[20],e[15],f,g[15],h,i,j[30],k[30];
- textbackground(WHITE);
- textcolor(BLACK);
- clrscr();
- gotoxy(1,1);
- printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",201,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,187);
- gotoxy(25,2);
- printf("%c",186);
- gotoxy(25,3);
- printf("%c",186);
- gotoxy(25,4);
- printf("%c",186);
- gotoxy(25,5);
- printf("%c",186);
- gotoxy(1,6);
- printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",200,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,188);
- gotoxy(1,2);
- printf("%c",186);
- gotoxy(1,3);
- printf("%c",186);
- gotoxy(1,4);
- printf("%c",186);
- gotoxy(1,5);
- printf("%c",186);
- gotoxy(3,2);
- printf("Nombre de la empresa");
- gotoxy(3,3);
- printf("Comuna:");
- gotoxy(3,4);
- printf("Direccion:");
- gotoxy(3,5);
- printf("Fono:");
- gotoxy(30,1);
- printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",201,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,187);
- gotoxy(30,2);
- printf("%c",186);
- gotoxy(31,2);
- cprintf("Nombre empresa");
- gotoxy(30,3);
- printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",200,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,188);
- gotoxy(30,2);
- printf("%c",186);
- gotoxy(47,2);
- printf("%c",186);
- gotoxy(58,1);
- printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",201,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,187);
- gotoxy(80,2);
- printf("%c",186);
- gotoxy(80,3);
- printf("%c",186);
- gotoxy(80,4);
- printf("%c",186);
- gotoxy(58,5);
- printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",200,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,188);
- gotoxy(58,2);
- printf("%c",186);
- gotoxy(58,3);
- printf("%c",186);
- gotoxy(58,4);
- printf("%c",186);
- gotoxy(60,2);
- printf("R.U.T:");
- gotoxy(66,3);
- printf("FACTURA");
- gotoxy(62,4);
- printf("N%c Numero factura",167);
- textcolor(BLACK);
- gotoxy(1,7);
- printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",201,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,187);
- gotoxy(1,14);
- printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",200,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,188);
- gotoxy(1,8);
- printf("%c",186);
- gotoxy(1,9);
- printf("%c",186);
- gotoxy(1,10);
- printf("%c",186);
- gotoxy(1,11);
- printf("%c",186);
- gotoxy(1,12);
- printf("%c",186);
- gotoxy(1,13);
- printf("%c",186);
- gotoxy(80,8);
- printf("%c",186);
- gotoxy(80,9);
- printf("%c",186);
- gotoxy(80,10);
- printf("%c",186);
- gotoxy(80,11);
- printf("%c",186);
- gotoxy(80,12);
- printf("%c",186);
- gotoxy(80,13);
- printf("%c",186);
- gotoxy(1,15);
- printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",201,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,203,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,187);
- gotoxy(1,25);
- printf("%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",200,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,202,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,188);
- gotoxy(17,16);
- printf("%c",186);
- gotoxy(17,17);
- printf("%c",186);
- gotoxy(17,18);
- printf("%c",186);
- gotoxy(17,19);
- printf("%c",186);
- gotoxy(17,20);
- printf("%c",186);
- gotoxy(17,21);
- printf("%c",186);
- gotoxy(17,22);
- printf("%c",186);
- gotoxy(17,23);
- printf("%c",186);
- gotoxy(17,24);
- printf("%c",186);
- gotoxy(1,16);
- printf("%c",186);
- gotoxy(1,17);
- printf("%c",186);
- gotoxy(1,18);
- printf("%c",186);
- gotoxy(1,19);
- printf("%c",186);
- gotoxy(1,20);
- printf("%c",186);
- gotoxy(1,12);
- printf("%c",186);
- gotoxy(1,21);
- printf("%c",186);
- gotoxy(1,22);
- printf("%c",186);
- gotoxy(1,23);
- printf("%c",186);
- gotoxy(1,24);
- printf("%c",186);
- gotoxy(80,16);
- printf("%c",186);
- gotoxy(80,17);
- printf("%c",186);
- gotoxy(80,18);
- printf("%c",186);
- gotoxy(80,19);
- printf("%c",186);
- gotoxy(80,20);
- printf("%c",186);
- gotoxy(80,21);
- printf("%c",186);
- gotoxy(80,22);
- printf("%c",186);
- gotoxy(80,23);
- printf("%c",186);
- gotoxy(80,24);
- printf("%c",186);
- gotoxy(2,8);
- printf("Fecha:",f );
- scanf("%s",&f);
- fflush(stdin);
- gotoxy(2,9);
- printf("Nombre y Apellido:",a);
- gets(a);
- gotoxy(60,9);
- printf("RUT:",b);
- scanf("%s", &b);
- fflush(stdin);
- gotoxy(2,10);
- printf("Direccion:",d);
- gets(d);
- fflush(stdin);
- gotoxy(38,10);
- printf("Ciudad:",e);
- gets(e);
- fflush(stdin);
- gotoxy(60,10);
- printf("Comuna:",g);
- gets(g);
- gotoxy(2,11);
- printf("Telefono:",h);
- scanf("%s",&h);
- gotoxy(38,11);
- printf("Celular:",i);
- scanf("%s",&i);
- fflush(stdin);
- gotoxy(2,12);
- printf("Condiciones de la venta:",j);
- gets(j);
- fflush(stdin);
- gotoxy(2,13);
- printf("Forma de pago:",k);
- gets(k);
- gotoxy(30,20);
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement