Member 13580194 Ответов: 1

Я не могу найти объявление завершенным неправильно


#include <stdio.h>
#include <conio.h>
#include <string.h>
#include <windows.h>
#include <iostream.h>

void loading()
{
   int a,b;
   clrscr();
   //Pembukaan Loading
   gotoxy(35,3);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",218,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,191);
   gotoxy(35,4);printf("%c",179);gotoxy(48,4);printf("PROGRAM SEDANG DIMUAT");gotoxy(80,4);printf("%c",179);
   gotoxy(35,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%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",192,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,217);

   //Loading Bar
   gotoxy(35,10);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",218,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,191);
   gotoxy(35,11);printf("%c",179);gotoxy(80,11);;printf("%c",179);
   gotoxy(35,12);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",192,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,217);

   gotoxy(36,11);
   for(a=1;a<=44;a++)
   {
   	Sleep(40);
      printf("%c",219);
   }//Penutup For Loading

}//penutup Void Loading

void menuawal()
{
	int a,pil1,x;
   char b[26]="Welcome To 8 Tech Hardware";
   back1:
   clrscr();
	gotoxy(45,3);
   for(a=0;a<=25;a++)
   {
   	Sleep(40);
   	printf("%c",b[a]);
   }//penutup for sambutan
   //------------------------//

   gotoxy(35,5);printf("%c",218);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",196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196);printf("%c",191);
   gotoxy(35,6);printf("%c",179);gotoxy(53,6);printf("LIST PROGRAM");gotoxy(81,6);printf("%c",179);
   gotoxy(35,7);printf("%c",195);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",196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196);printf("%c",180);
   gotoxy(35,8);printf("%c",179);printf("1. Service Hardware");gotoxy(81,8);printf("%c",179);
   gotoxy(35,9);printf("%c",179);printf("2. Jualan Hardware");gotoxy(81,9);printf("%c",179);
   gotoxy(35,10);printf("%c",192);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",196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196);printf("%c",217);

   gotoxy(35,12);printf("Masukkan Pilihan 1/2 : ");scanf("%i",&pil1);
   if(pil1==1)
   {

		back2:clrscr();
   	gotoxy(10,5);printf("Pilih Merek");
      gotoxy(10,6);printf("-----------");
      gotoxy(9,8);printf("1. Samsung");
      gotoxy(9,9);printf("2. Asus");
      gotoxy(9,10);printf("3. Lenovo");
      gotoxy(9,11);printf("0. Kembali");
      gotoxy(9,12);printf("Masukkan Pilihan : ");scanf("%d",&x);

      if(x==1)
      {
         int xz;
   		back3:
         clrscr();
   		gotoxy(10,5);printf("Tipe Samsung");
   		gotoxy(10,6);printf("============");
   		gotoxy(9,8);printf("1. Samsung NPX Series");
   		gotoxy(9,9);printf("2. Samsung NPC Series");
   		gotoxy(9,10);printf("0. Kembali");
   		gotoxy(9,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&xz);

   		if(xz==1)
   		{
   			clrscr();
            int a1;
   			gotoxy(10,5);printf("Tipe Samsung NPX Series");
   			gotoxy(10,6);printf("=======================");
            gotoxy(10,8);printf("1. PC-NP1492X");
            gotoxy(10,9);printf("2. PC-NP1412X");
            gotoxy(10,10);printf("0. Kembali");
            gotoxy(10,11);printf("Masukkan Pilihan : ");scanf("%i",&a1);

	         if(a1==1)
  	         {
     	            clrscr();int b1;
   					gotoxy(10,5);printf("Tipe Samsung PC-NP1492X");
   					gotoxy(10,6);printf("=======================");
            	   gotoxy(10,8);printf("1. Service Only");
						gotoxy(10,9);printf("2. Service & Ganti Hardware");
	               gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&b1);

						if(b1==1)
      	         {
         	         clrscr();
            	      int c1,t1,x=700000;char nama[50],alamat[50];
               	   char hp[50];
                  	gotoxy(10,5);printf("SERVICE ONLY");
	                  gotoxy(10,6);printf("============");
   	               gotoxy(10,8);printf("Harga Total : Rp.700,000");
      	            gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&c1);fflush(stdin);
         	         t1=c1-x;

               	   if(c1>=700000)
                  	{
	                  	gotoxy(10,11);printf("Kembalian : %i",t1);
	   	               gotoxy(10,13);printf("PEMBUATAN NOTA");
								gotoxy(10,14);printf("Nama Pembeli     : ");gets(nama);
      	   	         gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamat);fflush(stdin);
         	   	      gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hp);
            	   	   gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
               	   	clrscr();
	               	   gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
   	               	gotoxy(30,8);printf("Nomor HP Pembeli : %s",hp);
	      	            gotoxy(30,6);printf("Nama Pembeli     : %s",nama);
   	      	         gotoxy(30,7);printf("Alamat Pembeli   : %s",alamat);
      	         	   gotoxy(30,10);printf("Jenis Layanan : Service Only");
         	   	      gotoxy(30,11);printf("Tipe Barang : Samsung PC-NP1492X");
                  		gotoxy(35,13);printf("LUNAS");
            	      }
               	   else
	                  {
   	               	gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
      	            }
               	}

               	else if(b1==2)
	               {
   	               clrscr();
      	            int c2,t2,c=1500000;
         	         char nama1[50],alamat1[50],hp1[50];
            	      gotoxy(10,5);printf("SERVICE DAN GANTI HARDWARE");
               	   gotoxy(10,6);printf("============");
                  	gotoxy(10,8);printf("Harga Total : Rp.1,500,000");
               	   gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&c2);fflush(stdin);
		               t2=c2-c;
                  	if(c2>=1500000)
      	            {
	      	            gotoxy(10,11);printf("Kembalian : %i",t2);
   	      	         gotoxy(10,13);printf("PEMBUATAN NOTA");
								gotoxy(10,14);printf("Nama Pembeli     : ");gets(nama1);
   	      	         gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamat1);fflush(stdin);
               	  	   gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hp1);
      	      	      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
         	      	   clrscr();
	         	         gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
   	            	   gotoxy(30,8);printf("Nomor HP Pembeli : %s",hp1);
      	            	gotoxy(30,6);printf("Nama Pembeli     : %s",nama1);
	         	         gotoxy(30,7);printf("Alamat Pembeli   : %s",alamat1);
   	         	      gotoxy(30,10);printf("Jenis Layanan : Service dan Ganti Hardware");
      	         	   gotoxy(30,11);printf("Tipe Barang : Samsung PC-NP1492X");
         	         	gotoxy(35,13);printf("LUNAS");
            	      }
               	   else
                  	{
                   		gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
	                  }
   	            }
      	         else
         	      {
            	     	printf("Error");
               	}
	         }// pilihan tipe 1


         	else if(a1==2)
         	{
	             clrscr();
                int b1;
   	          gotoxy(10,5);printf("Tipe Samsung PC-NP1412X");
   				 gotoxy(10,6);printf("=======================");
         	    gotoxy(10,8);printf("1. Service Only");
					 gotoxy(10,9);printf("2. Service & Ganti Hardware");
	             gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&b1);

					 if(b1)
      	       {
         	        clrscr();
            	     int c1,t1,x=1000000;char nama[50],alamat[50];
               	  char hp[50];
	                 gotoxy(10,5);printf("SERVICE ONLY");
   	              gotoxy(10,6);printf("============");
      	           gotoxy(10,8);printf("Harga Total : Rp.1,000,000");
         	        gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&c1);fflush(stdin);
            	     t1=c1-x;
               	  if(c1>=1000000)
	                 {
   	                  gotoxy(10,11);printf("Kembalian : %i",t1);
   		         	   gotoxy(10,13);printf("PEMBUATAN NOTA");
					 			gotoxy(10,14);printf("Nama Pembeli     : ");gets(nama);
         		      	gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamat);fflush(stdin);
               	   	gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hp);
              	   		gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
                 			clrscr();
	                  	gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
		                  gotoxy(30,8);printf("Nomor HP Pembeli : %s",hp);
   		               gotoxy(30,6);printf("Nama Pembeli     : %s",nama);
      	         	   gotoxy(30,7);printf("Alamat Pembeli   : %s",alamat);
         		         gotoxy(30,10);printf("Jenis Layanan : Service Only");
            	         gotoxy(30,11);printf("Tipe Barang : Samsung PC-NP1412X");
            		      gotoxy(35,13);printf("LUNAS");
   	              }
  	   	           else
         	        {
                  		gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
	                 }
                }
     				 else if(b1==2)
                {
               	clrscr();
	               int c2,t2,c=2000000;
   	            char nama1[50],alamat1[50],hp1[50];
      	         gotoxy(10,5);printf("SERVICE DAN GANTI HARDWARE");
         	      gotoxy(10,6);printf("============");
            	   gotoxy(10,8);printf("Harga Total : Rp.2,000,000");
               	gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&c2);fflush(stdin);
	               t2=c2-c;
   	            if(c2>=2000000)
      	         {
		      	        gotoxy(10,11);printf("Kembalian : %i",t2);
   		      	     gotoxy(10,13);printf("PEMBUATAN NOTA");
				  	   	  gotoxy(10,14);printf("Nama Pembeli     : ");gets(nama1);
	         		     gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamat1);fflush(stdin);
   	         		  gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hp1);
      	         	  gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
	      	           clrscr();
		      	        gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
   		      	     gotoxy(30,8);printf("Nomor HP Pembeli : %s",hp1);
	         	        gotoxy(30,6);printf("Nama Pembeli     : %s",nama1);
   	   	   	     gotoxy(30,7);printf("Alamat Pembeli   : %s",alamat1);
      	   	   	  gotoxy(30,10);printf("Jenis Layanan : Service dan Ganti Hardware");
	      	      	  gotoxy(30,11);printf("Tipe Barang : Samsung PC-NP1412X");
   	      	        gotoxy(35,13);printf("LUNAS");
                  }
         	      else
            	   {
               	     gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
	               }
                }//Pilihan tipe 2 np
            }//a2
            else if(a1==0)
            {
             	goto back3;
            }
            else
            {
              	printf("Inputan Tidak Valid..");
            }
         }//penutup if xz

         else if(xz==2)
         {
            char a3;clrscr();
   			gotoxy(10,5);printf("Tipe Samsung NPC Series");
   			gotoxy(10,6);printf("=======================");
            gotoxy(10,8);printf("1. PC-NPC142X");
            gotoxy(10,9);printf("2. PC-NPC1412X");
            gotoxy(10,10);printf("0. Kembali");
            gotoxy(10,11);printf("Masukkan Pilihan : ");scanf("%s",&a3);

            if(a3==1)
            {
               clrscr();int b1;
   				gotoxy(10,5);printf("Tipe Samsung PC-NPC142X");
   				gotoxy(10,6);printf("=======================");
               gotoxy(10,8);printf("1. Service Only");
					gotoxy(10,9);printf("2. Service & Ganti Hardware");
               gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&b1);

					if(b1==1)
               {
                  clrscr();
                  int c1,t1,x=700000;char nama[50],alamat[50];
                  char hp[50];
                  gotoxy(10,5);printf("SERVICE ONLY");
                  gotoxy(10,6);printf("============");
                  gotoxy(10,8);printf("Harga Total : Rp.700,000");
                  gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&c1);fflush(stdin);

                  if(c1>=700000)
                  {
                  	t1=c1-x;
	                  gotoxy(10,11);printf("Kembalian : %i",t1);
   	               gotoxy(10,13);printf("PEMBUATAN NOTA");
							gotoxy(10,14);printf("Nama Pembeli     : ");gets(nama);
         	         gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamat);fflush(stdin);
            	      gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hp);
               	   gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
                  	clrscr();
	                  gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
   	               gotoxy(30,8);printf("Nomor HP Pembeli : %s",hp);
      	            gotoxy(30,6);printf("Nama Pembeli     : %s",nama);
         	         gotoxy(30,7);printf("Alamat Pembeli   : %s",alamat);
            	      gotoxy(30,10);printf("Jenis Layanan : Service Only");
               	   gotoxy(30,11);printf("Tipe Hardware : PC-NPC142X");
                  	gotoxy(35,13);printf("LUNAS");
                  }
                  else
                  {
                  	gotoxy(10,11);printf("Uang Anda Tidak Cukup..!!");
                  }
               }

               else if(b1==2)
               {
                  clrscr();
                  int c2,t2,c=1500000;
                  char nama1[50],alamat1[50],hp1[50];
                  gotoxy(10,5);printf("SERVICE DAN GANTI HARDWARE");
                  gotoxy(10,6);printf("============");
                  gotoxy(10,8);printf("Harga Total : Rp.1,500,000");
                  gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&c2);fflush(stdin);
                  t2=c2-c;
                  if(c2>=1500000)
                  {
                  	gotoxy(10,11);printf("Kembalian : %i",t2);
	                  gotoxy(10,13);printf("PEMBUATAN NOTA");
							gotoxy(10,14);printf("Nama Pembeli     : ");gets(nama1);
   	               gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamat1);fflush(stdin);
      	            gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hp1);
         	         gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
            	      clrscr();
               	   gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
                  	gotoxy(30,8);printf("Nomor HP Pembeli : %s",hp1);
	                  gotoxy(30,6);printf("Nama Pembeli     : %s",nama1);
   	               gotoxy(30,7);printf("Alamat Pembeli   : %s",alamat1);
      	            gotoxy(30,10);printf("Jenis Layanan : Service dan Ganti Hardware");
                     gotoxy(30,11);printf("Tipe Hardware : PC-NPC142X");
         	         gotoxy(35,13);printf("LUNAS");
                  }
                  else
                  {
                  	gotoxy(10,11);printf("Uang Anda Tidak Cukup..!!");
                  }
               }
             else
             {
              	printf("Inputan Tidak Valid..");
             }
            }//penutup if

            else if(a3==2)
            {
            	clrscr();
               int b1;
   				gotoxy(10,5);printf("Tipe Samsung PC-NPC1412X");
   				gotoxy(10,6);printf("=======================");
               gotoxy(10,8);printf("1. Service Only");
					gotoxy(10,9);printf("2. Service & Ganti Hardware");
               gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&b1);

					if(b1==1)
               {
                  clrscr();
                  int c1,t1,x=1000000;char nama[50],alamat[50];
                  char hp[50];
                  gotoxy(10,5);printf("SERVICE ONLY");
                  gotoxy(10,6);printf("============");
                  gotoxy(10,8);printf("Harga Total : Rp.1,000,000");
                  gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&c1);fflush(stdin);
                  t1=c1-x;
                  if(c1>=1000000)
                  {
	                  gotoxy(10,11);printf("Kembalian : %i",t1);
   	               gotoxy(10,13);printf("PEMBUATAN NOTA");
							gotoxy(10,14);printf("Nama Pembeli     : ");gets(nama);
         	         gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamat);fflush(stdin);
            	      gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hp);
               	   gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
                  	clrscr();
	                  gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
   	               gotoxy(30,8);printf("Nomor HP Pembeli : %s",hp);
      	            gotoxy(30,6);printf("Nama Pembeli     : %s",nama);
         	         gotoxy(30,7);printf("Alamat Pembeli   : %s",alamat);
            	      gotoxy(30,10);printf("Jenis Layanan : Service Only");
                     gotoxy(30,11);printf("Tipe Hardware : PC-NPC142X");
               	   gotoxy(35,13);printf("LUNAS");
                  }
                  else
                  {
                  	gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
                  }
               }

               else if(b1==2)
               {
                  clrscr();
                  int c2,t2,c=2000000;
                  char nama1[50],alamat1[50],hp1[50];
                  gotoxy(10,5);printf("SERVICE DAN GANTI HARDWARE");
                  gotoxy(10,6);printf("============");
                  gotoxy(10,8);printf("Harga Total : Rp.2,000,000");
                  gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&c2);fflush(stdin);
                  t2=c2-c;
                  if(c2>=2000000)
                  {
                  	gotoxy(10,11);printf("Kembalian : %i",t2);
	                  gotoxy(10,13);printf("PEMBUATAN NOTA");
							gotoxy(10,14);printf("Nama Pembeli     : ");gets(nama1);
      	            gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamat1);fflush(stdin);
         	         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hp1);
            	      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
               	   clrscr();
                  	gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	                  gotoxy(30,8);printf("Nomor HP Pembeli : %s",hp1);
   	               gotoxy(30,6);printf("Nama Pembeli     : %s",nama1);
      	            gotoxy(30,7);printf("Alamat Pembeli   : %s",alamat1);
         	         gotoxy(30,10);printf("Jenis Layanan : Service dan Ganti Hardware");
                     gotoxy(30,11);printf("Tipe Hardware : PC-NPC142X");
            	      gotoxy(35,13);printf("LUNAS");
                  }
                  else
                  {
                  	gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
                  }
               }
            }//else if

         else if(a3==0)
         {
         	 goto back2;
      	}

         else
         {
         	printf("Inputan Tidak Valid..");
         }

      }//penutup nested if merek samsung

      else if(x==2)
      {
         int zx;
   		back4:clrscr();
   		gotoxy(10,5);printf("Tipe Asus");
   		gotoxy(10,6);printf("=========");
   		gotoxy(9,8);printf("1. Asus ROG Series");
   		gotoxy(9,9);printf("2. Asus X453 Series");
   		gotoxy(9,10);printf("0. Kembali");
   		gotoxy(9,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&zx);

   		if(zx==1)
   		{
   			clrscr();
            int prog;
   			gotoxy(10,5);printf("Tipe Asus ROG Series");
   			gotoxy(10,6);printf("=======================");
            gotoxy(10,8);printf("1. ROG GX800VH");
            gotoxy(10,9);printf("2. ROG G701VI");
            gotoxy(10,10);printf("0. Kembali");
            gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&prog);

            	if(prog==1)
	            {
      	      	clrscr();
         	      int rog_gx;
            		gotoxy(10,5);printf("ROG GX800VH");
               	gotoxy(10,6);printf("===========");
	               gotoxy(10,8);printf("1. Service Only");
   	            gotoxy(10,9);printf("2. Ganti Hardware");
      	         gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&rog_gx);
							if(rog_gx==1)
   	      	      {
      	      	   	clrscr();
         	      	   int xx,bsorog1,rogx1=15000000;
            	      	char namarog1[50],alamatrog1[50],hprog1[50];
	               		gotoxy(10,5);printf("SERVICE ONLY");
   	               	gotoxy(10,6);printf("============");
	   	               gotoxy(10,8);printf("Harga Service ROG GX800VH : Rp.15,000,000");
   	   	            gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&bsorog1);fflush(stdin);
      	   	         xx=bsorog1-rogx1;
         	   	      if(bsorog1>=rogx1)
            	   	   {
	               	   	gotoxy(10,11);printf("Kembalian : %i",xx);
		               	   gotoxy(10,13);printf("PEMBUATAN NOTA");
									gotoxy(10,14);printf("Nama Pembeli     : ");gets(namarog1);
	      		            gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamatrog1);fflush(stdin);
   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hprog1);
      	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
         	      		   clrscr();
            	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	            	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",hprog1);
	   	            	   gotoxy(30,6);printf("Nama Pembeli     : %s",namarog1);
   	   	            	gotoxy(30,7);printf("Alamat Pembeli   : %s",alamatrog1);
	   	      	         gotoxy(30,10);printf("Jenis Layanan : Service Only");
   	   	               gotoxy(30,11);printf("Tipe Hardware : ROG GX800VH");
      	   	   	      gotoxy(35,13);printf("LUNAS");
         	   	      }
            	   	   else
               	   	{
                  			gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
		                  }
   		            } //End Service ROG Pertama
      		         else if(rog_gx==2)
         		      {
            		   	clrscr();
               		   int yy,bsorog2,rogx2=25000000;
                  		char namarog2[50],alamatrog2[50],hprog2[50];
	                  	gotoxy(10,5);printf("GANTI HARDWARE");
		                  gotoxy(10,6);printf("==============");
   		               gotoxy(10,8);printf("Harga Ganti Hardware ROG GX800VH : Rp.25,000,000");
      		            gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&bsorog2);fflush(stdin);
         		         yy=bsorog2-rogx2;
            		      if(bsorog2>=rogx2)
               		   {
	               	   	gotoxy(10,11);printf("Kembalian : %i",yy);
		               	   gotoxy(10,13);printf("PEMBUATAN NOTA");
									gotoxy(10,14);printf("Nama Pembeli     : ");gets(namarog2);
	      		            gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamatrog2);fflush(stdin);
   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hprog2);
	   	         	      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
         	      		   clrscr();
            	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	            	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",hprog2);
   		         	      gotoxy(30,6);printf("Nama Pembeli     : %s",namarog2);
      		         	   gotoxy(30,7);printf("Alamat Pembeli   : %s",alamatrog2);
         		         	gotoxy(30,10);printf("Jenis Layanan : Ganti Hardware");
	            	         gotoxy(30,11);printf("Tipe Hardware : ROG GX800VH");
   	         		      gotoxy(35,13);printf("LUNAS");
      	            	}
	      	            else
   	      	         {
      	      	      	gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
         	      	   }
	            	   }
                     else
                          {
                          	printf("Inputan Tidak Valid");
                          }//End Ganti Hardware ROG Pertama
                }// penutup prog 1

                else if(prog==2)
                {
   	          		clrscr();
                 		int rog_g7;
							gotoxy(10,5);printf("ROG G701VI");
	               	gotoxy(10,6);printf("===========");
		               gotoxy(10,8);printf("1. Service Only");
   		            gotoxy(10,9);printf("2. Ganti Hardware");
      		         gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&rog_g7);
                     if(rog_g7==1)
                     {
								clrscr();
         	      	   int ss,bsorog3,rogx3=10000000;
            	      	char namarog3[50],alamatrog3[50],hprog3[50];
	               		gotoxy(10,5);printf("SERVICE ONLY");
   	               	gotoxy(10,6);printf("============");
	   	               gotoxy(10,8);printf("Harga Service ROG GX800VH : Rp.10,000,000");
   	   	            gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&bsorog3);fflush(stdin);
      	   	         ss=bsorog3-rogx3;
         	   	      if(bsorog3>=rogx3)
            	   	   {
	               	   	gotoxy(10,11);printf("Kembalian : %i",ss);
		               	   gotoxy(10,13);printf("PEMBUATAN NOTA");
									gotoxy(10,14);printf("Nama Pembeli     : ");gets(namarog3);
	      		            gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamatrog3);fflush(stdin);
   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hprog3);
      	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
         	      		   clrscr();
            	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	            	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",hprog3);
	   	            	   gotoxy(30,6);printf("Nama Pembeli     : %s",namarog3);
   	   	            	gotoxy(30,7);printf("Alamat Pembeli   : %s",alamatrog3);
	   	      	         gotoxy(30,10);printf("Jenis Layanan : Service Only");
   	   	               gotoxy(30,11);printf("Tipe Hardware : ROG G701VI");
      	   	   	      gotoxy(35,13);printf("LUNAS");
         	   	      }
            	   	   else
               	   	{
                  			gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
		                  }
   		            } //End Service ROG Pertama

                     else if(rog_g7=2)
                     {
                        clrscr();
         	      	   int aa,bsorog4,rogx4=5000000;
            	      	char namarog4[50],alamatrog4[50],hprog4[50];
	               		gotoxy(10,5);printf("SERVICE ONLY");
   	               	gotoxy(10,6);printf("============");
	   	               gotoxy(10,8);printf("Harga Service ROG GX800VH : Rp.5,000,000");
   	   	            gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&bsorog4);fflush(stdin);
      	   	         aa=bsorog4-rogx4;
         	   	      if(bsorog4>=rogx4)
            	   	   {
	               	   	gotoxy(10,11);printf("Kembalian : %i",aa);
		               	   gotoxy(10,13);printf("PEMBUATAN NOTA");
									gotoxy(10,14);printf("Nama Pembeli     : ");gets(namarog4);
	      		            gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamatrog4);fflush(stdin);
   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hprog4);
      	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
         	      		   clrscr();
            	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	            	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",hprog4);
	   	            	   gotoxy(30,6);printf("Nama Pembeli     : %s",namarog4);
   	   	            	gotoxy(30,7);printf("Alamat Pembeli   : %s",alamatrog4);
	   	      	         gotoxy(30,10);printf("Jenis Layanan : Ganti Hardware ROG");
   	   	               gotoxy(30,11);printf("Tipe Hardware : ROG G701VI");
      	   	   	      gotoxy(35,13);printf("LUNAS");
         	   	      }
            	   	   else
               	   	{
                  			gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
		                  }
                     }
               }//rog2
			}//tipe pertama

         else if(xz==2)
         {
              		clrscr();
                  int xchoose;
			   		gotoxy(10,5);printf("Tipe Asus X453 Series");
		   			gotoxy(10,6);printf("=======================");
      	         gotoxy(10,8);printf("1. X453M");
         	      gotoxy(10,9);printf("2. X453MA");
                  gotoxy(10,10);printf("0. Kembali");
                  gotoxy(10,12);printf("Masukkan Pilihan Anda : ");scanf("%i",&xchoose);

                  if(xchoose==1)
                  {
                  		clrscr();
                     	int ux;
                     	gotoxy(10,5);printf("Asus X453M");
                        gotoxy(10,6);printf("==========");
                        gotoxy(10,8);printf("1. Service Only");
                        gotoxy(10,9);printf("2. Ganti Hardware");
                        gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&ux);

                        	if(ux==1)
                        	{
                           	clrscr();
                        		int h=850000,k,b;
	                           char m1[50],m2[50],m3[50];
   	                     	gotoxy(10,5);printf("Service Only");
      	                     gotoxy(10,6);printf("============");
         	                  gotoxy(10,7);printf("Harga Total : Rp.850,000");
            	               gotoxy(10,8);printf("Dibayar : Rp.");scanf("%i",&b);fflush(stdin);
               	            k=b-h;
                              if(b>=850000)
                              {
                  	         gotoxy(10,10);printf("Kembalian : Rp.%i",k);
                     	      gotoxy(10,13);printf("PEMBUATAN NOTA");
										gotoxy(10,14);printf("Nama Pembeli     : ");gets(m1);
	      		            	gotoxy(10,15);printf("Alamat Pembeli   : ");gets(m2);fflush(stdin);
	   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&m3);
   	   	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
      	   	      		   clrscr();
         	   	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	         	   	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",m3);
	   	      	      	   gotoxy(30,6);printf("Nama Pembeli     : %s",m1);
   	   	      	      	gotoxy(30,7);printf("Alamat Pembeli   : %s",m2);
	   	      	   	      gotoxy(30,10);printf("Jenis Layanan : Service Only");
   	   	            	   gotoxy(30,11);printf("Tipe Hardware : Asus X453M");
      	   	   	      	gotoxy(35,13);printf("LUNAS");
                              }
                              else
      	         	   		{
         	         			gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
		      	            	}
                       		 }
                          else if(ux==2)
                          {
                          		clrscr();
                              int v=900000,k,b;
	                           char m4[50],m5[50],m6[50];
   	                     	gotoxy(10,5);printf("Service dan Ganti Hardware");
      	                     gotoxy(10,6);printf("============");
         	                  gotoxy(10,7);printf("Harga Total : Rp.900,000");
            	               gotoxy(10,8);printf("Dibayar : Rp.");scanf("%i",&b);fflush(stdin);
               	            k=b-v;
                              if(b>=v)
                              {
                              gotoxy(10,10);printf("Kembalian : Rp.%i",k);
                     	      gotoxy(10,13);printf("PEMBUATAN NOTA");
										gotoxy(10,14);printf("Nama Pembeli     : ");gets(m4);
	      		            	gotoxy(10,15);printf("Alamat Pembeli   : ");gets(m5);fflush(stdin);
	   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&m6);
   	   	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
      	   	      		   clrscr();
         	   	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	         	   	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",m6);
	   	      	      	   gotoxy(30,6);printf("Nama Pembeli     : %s",m4);
   	   	      	      	gotoxy(30,7);printf("Alamat Pembeli   : %s",m5);
	   	      	   	      gotoxy(30,10);printf("Jenis Layanan : Service Only");
   	   	            	   gotoxy(30,11);printf("Tipe Hardware : Asus X453M");
      	   	   	      	gotoxy(35,13);printf("LUNAS");
                              }
                              else
      	         	   		{
         	         			gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
		      	            	}
                          }
                          else
                          {
                          	printf("Error");
                          }//Ganti Hardware Asus X453M
                  }
                    else if(xchoose==2)
                    {
                     	clrscr();
                     	int uy;
                     	gotoxy(10,5);printf("Asus X453MA");
                        gotoxy(10,6);printf("==========");
                        gotoxy(10,8);printf("1. Service Only");
                        gotoxy(10,9);printf("2. Ganti Hardware");
                        gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&uy);

                        	if(uy==1)
                        	{
                           	clrscr();
                        		int j=800000,n,n1;
	                           char c1[50],c2[50],c3[50];
   	                     	gotoxy(10,5);printf("Service Only");
      	                     gotoxy(10,6);printf("============");
         	                  gotoxy(10,7);printf("Harga Total : Rp.800,000");
            	               gotoxy(10,8);printf("Dibayar : Rp.");scanf("%i",&n);fflush(stdin);
               	            n1=n-j;
                              if(n>=j)
                              {
                  	         gotoxy(10,10);printf("Kembalian : Rp.%i",n1);
                     	      gotoxy(10,13);printf("PEMBUATAN NOTA");
										gotoxy(10,14);printf("Nama Pembeli     : ");gets(c1);
	      		            	gotoxy(10,15);printf("Alamat Pembeli   : ");gets(c2);fflush(stdin);
	   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&c3);
   	   	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
      	   	      		   clrscr();
         	   	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	         	   	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",c3);
	   	      	      	   gotoxy(30,6);printf("Nama Pembeli     : %s",c1);
   	   	      	      	gotoxy(30,7);printf("Alamat Pembeli   : %s",c2);
	   	      	   	      gotoxy(30,10);printf("Jenis Layanan : Service Only");
   	   	            	   gotoxy(30,11);printf("Tipe Hardware : Asus X453MA");
      	   	   	      	gotoxy(35,13);printf("LUNAS");
                              }
                              else
      	         	   		{
         	         			gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
		      	            	}
                       		 }
                          else if(uy==2)
                          {
                          		clrscr();
                              int i=950000,o,p;
	                           char m7[50],m8[50],m9[50];
   	                     	gotoxy(10,5);printf("Service dan Ganti Hardware");
      	                     gotoxy(10,6);printf("============");
         	                  gotoxy(10,7);printf("Harga Total : Rp.950,000");
            	               gotoxy(10,8);printf("Dibayar : Rp.");scanf("%i",&o);fflush(stdin);
               	            p=o-i;
                              if(o>=i)
                              {
                              gotoxy(10,10);printf("Kembalian : Rp.%i",p);
                     	      gotoxy(10,13);printf("PEMBUATAN NOTA");
										gotoxy(10,14);printf("Nama Pembeli     : ");gets(m7);
	      		            	gotoxy(10,15);printf("Alamat Pembeli   : ");gets(m8);fflush(stdin);
	   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&m9);
   	   	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
      	   	      		   clrscr();
         	   	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	         	   	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",m9);
	   	      	      	   gotoxy(30,6);printf("Nama Pembeli     : %s",m7);
   	   	      	      	gotoxy(30,7);printf("Alamat Pembeli   : %s",m8);
	   	      	   	      gotoxy(30,10);printf("Jenis Layanan : Ganti Hardware");
   	   	            	   gotoxy(30,11);printf("Tipe Hardware : Asus X453MA");
      	   	   	      	gotoxy(35,13);printf("LUNAS");
                              }
                              else
      	         	   		{
         	         			gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
		      	            	}
                          }
                          else
                          {
                          	printf("Error");
                          }
                     }//x2
                  }//pembatas if
			      }

      			else if(xz==0)
               {
               goto back2;
               }
	         }//Penutup Tipe Asus ROG/X453
   	   }//penutup else if

      else if(x==3)
      {
	   	   	clrscr();
   	   	   int xz;
   				back5:
	   			gotoxy(10,5);printf("Tipe Lenovo");
		   		gotoxy(10,6);printf("============");
   				gotoxy(9,8);printf("1. Lenovo T Series");
   				gotoxy(9,9);printf("2. Lenovo IdeaPAD");
	   			gotoxy(9,10);printf("0. Kembali");
	   			gotoxy(9,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&xz);

   				if(xz==1)
   				{
	   				clrscr();
                  int ml;
   					gotoxy(10,5);printf("Tipe T Series");
	   				gotoxy(10,6);printf("=============");
                  gotoxy(10,8);printf("1. T-453 CP");
                  gotoxy(10,9);printf("2. T-453 CC");
                  gotoxy(10,10);printf("0. Kembali");
                  gotoxy(10,12);printf("Masukkan Pilihan Anda : ");scanf("%i",&ml);
                  if(ml==1)
                  {
                  		clrscr();
                     	int lm;
   							gotoxy(10,5);printf("Tipe T-453 CP");
		   					gotoxy(10,6);printf("=============");
   	         	      gotoxy(10,8);printf("1. Service Only");
      	         	   gotoxy(10,9);printf("2. Service & Ganti Hardware");
                        gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&lm);
                        if(lm==1)
                        {
                           	clrscr();
                        		int j1=900000,v,v1;
	                           char d1[50],d2[50],d3[50];
   	                     	gotoxy(10,5);printf("Service Only");
      	                     gotoxy(10,6);printf("============");
         	                  gotoxy(10,7);printf("Harga Total : Rp.900,000");
            	               gotoxy(10,8);printf("Dibayar : Rp.");scanf("%i",&v);fflush(stdin);
               	            v1=v-j1;
                              if(v>=j1)
                              {
                  	         gotoxy(10,10);printf("Kembalian : Rp.%i",v1);
                     	      gotoxy(10,13);printf("PEMBUATAN NOTA");
										gotoxy(10,14);printf("Nama Pembeli     : ");gets(d1);
	      		            	gotoxy(10,15);printf("Alamat Pembeli   : ");gets(d2);fflush(stdin);
	   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&d3);
   	   	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
      	   	      		   clrscr();
         	   	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	         	   	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",d3);
	   	      	      	   gotoxy(30,6);printf("Nama Pembeli     : %s",d1);
   	   	      	      	gotoxy(30,7);printf("Alamat Pembeli   : %s",d2);
	   	      	   	      gotoxy(30,10);printf("Jenis Layanan : Service Only");
   	   	            	   gotoxy(30,11);printf("Tipe Hardware : Lenovo T-453 CP");
      	   	   	      	gotoxy(35,13);printf("LUNAS");
                              }
                              else
      	         	   		{
         	         			gotoxy(10,15);printf("Uang Anda Tidak Cukup..!");
		      	            	}
                        }// IF LM
                        else if(lm==2)
                        {
                           	clrscr();
                        		int j=1000000,n,n1;
	                           char c1[50],c2[50],c3[50];
   	                     	gotoxy(10,5);printf("Service dan Ganti Hardware");
      	                     gotoxy(10,6);printf("============");
         	                  gotoxy(10,7);printf("Harga Total : Rp.1.000,000");
            	               gotoxy(10,8);printf("Dibayar : Rp.");scanf("%i",&n);fflush(stdin);
               	            n1=n-j;
                              if(n>=j)
                              {
                  	         gotoxy(10,10);printf("Kembalian : Rp.%i",n1);
                     	      gotoxy(10,13);printf("PEMBUATAN NOTA");
										gotoxy(10,14);printf("Nama Pembeli     : ");gets(c1);
	      		            	gotoxy(10,15);printf("Alamat Pembeli   : ");gets(c2);fflush(stdin);
	   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&c3);
   	   	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
      	   	      		   clrscr();
         	   	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	         	   	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",c3);
	   	      	      	   gotoxy(30,6);printf("Nama Pembeli     : %s",c1);
   	   	      	      	gotoxy(30,7);printf("Alamat Pembeli   : %s",c2);
	   	      	   	      gotoxy(30,10);printf("Jenis Layanan : Service dan Ganti Hardware");
   	   	            	   gotoxy(30,11);printf("Tipe Hardware : Lenovo T-453 CP");
      	   	   	      	gotoxy(35,13);printf("LUNAS");
                              }
                              else
      	         	   		{
         	         			gotoxy(10,1);printf("Uang Anda Tidak Cukup..!");
		      	            	}
                        }
                        else
                        {
                        	gotoxy(10,13);printf("Inputan Tidak Dikenali !!");
                        }
                  }
                                                          //CP
                  else if(ml==2)
		            {
                        clrscr();
                     	int llm;
   							gotoxy(10,5);printf("Tipe T-453 CC");
		   					gotoxy(10,6);printf("=============");
   	         	      gotoxy(10,8);printf("1. Service Only");
      	         	   gotoxy(10,9);printf("2. Service & Ganti Hardware");
                        gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&llm);
                        if(llm==1)
                        {
                           	clrscr();
                        		int j1=850000,v,v1;
	                           char d1[50],d2[50],d3[50];
   	                     	gotoxy(10,5);printf("Service Only");
      	                     gotoxy(10,6);printf("============");
         	                  gotoxy(10,7);printf("Harga Total : Rp.850,000");
            	               gotoxy(10,8);printf("Dibayar : Rp.");scanf("%i",&v);fflush(stdin);
               	            v1=v-j1;
                              if(v>=j1)
                              {
                  	         gotoxy(10,10);printf("Kembalian : Rp.%i",v1);
                     	      gotoxy(10,13);printf("PEMBUATAN NOTA");
										gotoxy(10,14);printf("Nama Pembeli     : ");gets(d1);
	      		            	gotoxy(10,15);printf("Alamat Pembeli   : ");gets(d2);fflush(stdin);
	   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&d3);
   	   	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
      	   	      		   clrscr();
         	   	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	         	   	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",d3);
	   	      	      	   gotoxy(30,6);printf("Nama Pembeli     : %s",d1);
   	   	      	      	gotoxy(30,7);printf("Alamat Pembeli   : %s",d2);
	   	      	   	      gotoxy(30,10);printf("Jenis Layanan : Service Only");
   	   	            	   gotoxy(30,11);printf("Tipe Hardware : Lenovo T-453 CC");
      	   	   	      	gotoxy(35,13);printf("LUNAS");
                              }
                              else
      	         	   		{
         	         			gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
		      	            	}
                        }// IF LM
                        else if(llm==2)
                        {
                           	clrscr();
                        		int j=900000,n,n1;
	                           char c1[50],c2[50],c3[50];
   	                     	gotoxy(10,5);printf("Service dan Ganti Hardware");
      	                     gotoxy(10,6);printf("============");
         	                  gotoxy(10,7);printf("Harga Total : Rp.900,000");
            	               gotoxy(10,8);printf("Dibayar : Rp.");scanf("%i",&n);fflush(stdin);
               	            n1=n-j;
                              if(n>=j)
                              {
                  	         gotoxy(10,10);printf("Kembalian : Rp.%i",n1);
                     	      gotoxy(10,13);printf("PEMBUATAN NOTA");
										gotoxy(10,14);printf("Nama Pembeli     : ");gets(c1);
	      		            	gotoxy(10,15);printf("Alamat Pembeli   : ");gets(c2);fflush(stdin);
	   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&c3);
   	   	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
      	   	      		   clrscr();
         	   	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	         	   	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",c3);
	   	      	      	   gotoxy(30,6);printf("Nama Pembeli     : %s",c1);
   	   	      	      	gotoxy(30,7);printf("Alamat Pembeli   : %s",c2);
	   	      	   	      gotoxy(30,10);printf("Jenis Layanan : Service Only");
   	   	            	   gotoxy(30,11);printf("Tipe Hardware : Lenovo T-453 CC");
      	   	   	      	gotoxy(35,13);printf("LUNAS");
                              }
                              else
      	         	   		{
         	         			gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
		      	            	}
                        }
                        else
                        {
                        	gotoxy(10,13);printf("Inputan Tidak Dikenali !!");
                        }
                  }
             }
	      	 else if(xz==2)
                  {
             		clrscr();
                  int mml;
			   		gotoxy(10,5);printf("Tipe IdeaPAD Series");
   					gotoxy(10,6);printf("===================");
                  gotoxy(10,8);printf("1. IdeaPAD Y700-15IS");
                  gotoxy(10,9);printf("2. IdeaPAD IP305");
                  gotoxy(10,10);printf("0. Kembali");
                  gotoxy(10,12);printf("Masukkan Pilihan Anda : ");scanf("%s",&mml);
						if(mml==1)
                  {
                  	   clrscr();
                     	int lm;
   							gotoxy(10,5);printf("IdeaPAD Y700-15IS");
		   					gotoxy(10,6);printf("=================");
   	         	      gotoxy(10,8);printf("1. Service Only");
      	         	   gotoxy(10,9);printf("2. Service & Ganti Hardware");
                        gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&lm);
                        if(lm==1)
                        {
                           	clrscr();
                        		int j1=1500000,v,v1;
	                           char d1[50],d2[50],d3[50];
   	                     	gotoxy(10,5);printf("Service Only");
      	                     gotoxy(10,6);printf("============");
         	                  gotoxy(10,7);printf("Harga Total : Rp.1,500,000");
            	               gotoxy(10,8);printf("Dibayar : Rp.");scanf("%i",&v);fflush(stdin);
               	            v1=v-j1;
                              if(v>=j1)
                              {
                  	         gotoxy(10,10);printf("Kembalian : Rp.%i",v1);
                     	      gotoxy(10,13);printf("PEMBUATAN NOTA");
										gotoxy(10,14);printf("Nama Pembeli     : ");gets(d1);
	      		            	gotoxy(10,15);printf("Alamat Pembeli   : ");gets(d2);fflush(stdin);
	   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&d3);
   	   	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
      	   	      		   clrscr();
         	   	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	         	   	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",d3);
	   	      	      	   gotoxy(30,6);printf("Nama Pembeli     : %s",d1);
   	   	      	      	gotoxy(30,7);printf("Alamat Pembeli   : %s",d2);
	   	      	   	      gotoxy(30,10);printf("Jenis Layanan : Service Only");
   	   	            	   gotoxy(30,11);printf("Tipe Hardware : Lenovo IdeaPAD Y700-15IS");
      	   	   	      	gotoxy(35,13);printf("LUNAS");
                              }
                              else
      	         	   		{
         	         			gotoxy(10,15);printf("Uang Anda Tidak Cukup..!");
		      	            	}
                        }// IF LM
                        else if(lm==2)
                        {
                           	clrscr();
                        		int j=2500000,n,n1;
	                           char c1[50],c2[50],c3[50];
   	                     	gotoxy(10,5);printf("Service dan Ganti Hardware");
      	                     gotoxy(10,6);printf("============");
         	                  gotoxy(10,7);printf("Harga Total : Rp.2.500,000");
            	               gotoxy(10,8);printf("Dibayar : Rp.");scanf("%i",&n);fflush(stdin);
               	            n1=n-j;
                              if(n>=j)
                              {
                  	         gotoxy(10,10);printf("Kembalian : Rp.%i",n1);
                     	      gotoxy(10,13);printf("PEMBUATAN NOTA");
										gotoxy(10,14);printf("Nama Pembeli     : ");gets(c1);
	      		            	gotoxy(10,15);printf("Alamat Pembeli   : ");gets(c2);fflush(stdin);
	   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&c3);
   	   	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
      	   	      		   clrscr();
         	   	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	         	   	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",c3);
	   	      	      	   gotoxy(30,6);printf("Nama Pembeli     : %s",c1);
   	   	      	      	gotoxy(30,7);printf("Alamat Pembeli   : %s",c2);
	   	      	   	      gotoxy(30,10);printf("Jenis Layanan : Service dan Ganti Hardware");
   	   	            	   gotoxy(30,11);printf("Tipe Hardware : Lenovo IdeaPAD Y700-15IS");
      	   	   	      	gotoxy(35,13);printf("LUNAS");
                              }
                              else
      	         	   		{
         	         			gotoxy(10,1);printf("Uang Anda Tidak Cukup..!");
		      	            	}
                        }
                        else
                        {
                        	gotoxy(10,13);printf("Inputan Tidak Dikenali !!");
                        }
                  	}
                                                          //IdeaPAD Y700-15IS

							else if(mml==2)
                     {
                   		clrscr();
                     	int llm;
   							gotoxy(10,5);printf("ideaPAD IP305");
		   					gotoxy(10,6);printf("============");
   	         	      gotoxy(10,8);printf("1. Service Only");
      	         	   gotoxy(10,9);printf("2. Service & Ganti Hardware");
                        gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&llm);
                        if(llm==1)
                        {
                           	clrscr();
                        		int j1=2800000,v,v1;
	                           char d1[50],d2[50],d3[50];
   	                     	gotoxy(10,5);printf("Service Only");
      	                     gotoxy(10,6);printf("============");
         	                  gotoxy(10,7);printf("Harga Total : Rp.2,800,000");
            	               gotoxy(10,8);printf("Dibayar : Rp.");scanf("%i",&v);fflush(stdin);
               	            v1=v-j1;
                              if(v>=j1)
                              {
                  	         gotoxy(10,10);printf("Kembalian : Rp.%i",v1);
                     	      gotoxy(10,13);printf("PEMBUATAN NOTA");
										gotoxy(10,14);printf("Nama Pembeli     : ");gets(d1);
	      		            	gotoxy(10,15);printf("Alamat Pembeli   : ");gets(d2);fflush(stdin);
	   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&d3);
   	   	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
      	   	      		   clrscr();
         	   	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	         	   	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",d3);
	   	      	      	   gotoxy(30,6);printf("Nama Pembeli     : %s",d1);
   	   	      	      	gotoxy(30,7);printf("Alamat Pembeli   : %s",d2);
	   	      	   	      gotoxy(30,10);printf("Jenis Layanan : Service Only");
   	   	            	   gotoxy(30,11);printf("Tipe Hardware : Lenovo ideaPAD IP305");
      	   	   	      	gotoxy(35,13);printf("LUNAS");
                              }
                              else
      	         	   		{
         	         			gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
		      	            	}
                        }// IF LM
                        else if(llm==2)
                        {
                           	clrscr();
                        		int j=3000000,n,n1;
	                           char c1[50],c2[50],c3[50];
   	                     	gotoxy(10,5);printf("Service dan Ganti Hardware");
      	                     gotoxy(10,6);printf("============");
         	                  gotoxy(10,7);printf("Harga Total : Rp.3,000,000");
            	               gotoxy(10,8);printf("Dibayar : Rp.");scanf("%i",&n);fflush(stdin);
               	            n1=n-j;
                              if(n>=j)
                              {
                  	         gotoxy(10,10);printf("Kembalian : Rp.%i",n1);
                     	      gotoxy(10,13);printf("PEMBUATAN NOTA");
										gotoxy(10,14);printf("Nama Pembeli     : ");gets(c1);
	      		            	gotoxy(10,15);printf("Alamat Pembeli   : ");gets(c2);fflush(stdin);
	   	      		         gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&c3);
   	   	      		      gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
      	   	      		   clrscr();
         	   	      		gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
	         	   	      	gotoxy(30,8);printf("Nomor HP Pembeli : %s",c3);
	   	      	      	   gotoxy(30,6);printf("Nama Pembeli     : %s",c1);
   	   	      	      	gotoxy(30,7);printf("Alamat Pembeli   : %s",c2);
	   	      	   	      gotoxy(30,10);printf("Jenis Layanan : Service Only");
   	   	            	   gotoxy(30,11);printf("Tipe Hardware : Lenovo ideaPAD IP305");
      	   	   	      	gotoxy(35,13);printf("LUNAS");
                              }
                              else
      	         	   		{
         	         			gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
		      	            	}
                        }
                        else
                        {
                        	gotoxy(10,13);printf("Inputan Tidak Dikenali !!");
                        }//ELSE

                   	 } //CC

                  }
				      }//ELSE IF 2 tipe  IdeaPAD
  else if(x==0)
  {
    	goto back1;
  }

   else
  {
  		printf("Inputan Salah");
  }
}
else if(pil1==2)
{
	a:clrscr();
	char pl[50];
   asus:clrscr();
   char a[5][30] = {"1. ASUS","2. ACER","3. LENOVO","4. HP","0.KEMBALI"};

   gotoxy(10,3);printf("Penjualan Laptop");
	gotoxy(10,4);printf("================\n\n");

   for(int b=0;b<=4;b++)
   {
   	printf("%s\n",a[b]);
   }
   gotoxy(4,12);printf("Masukkan Pilihan Anda : ");scanf("%s",&pl);
   if(strcmp(pl,"1")==0)
   {
   	clrscr();
      char pasus[50];
   	gotoxy(10,3);printf("ASUS");
		gotoxy(10,4);printf("====");
		gotoxy(4,6);printf("1. ASUS A456UR Rp. 7.300.000");
		gotoxy(4,7);printf("2. ASUS X555QG Rp. 5.900.000");
		gotoxy(4,8);printf("3. ASUS X550IU Rp. 9.500.000");
		gotoxy(4,9);printf("4. ASUS VivoBook S15 S510UQ Rp. 9.700.000");
		gotoxy(4,10);printf("5. ASUS ROG GL553VD Rp. 14.500.000");
		gotoxy(4,11);printf("6. ASUS ROG Zephyrus GX501 Rp. 50.300.000");
		gotoxy(4,12);printf("7. ASUS ROG GX800VH Rp. 95.600.000");
      gotoxy(4,13);printf("0. Kembali");
      gotoxy(4,15);printf("Masukkan Pilihan Anda : ");scanf("%s",&pasus);fflush(stdin);

		if(strcmp(pasus,"1")==0)
      {
   				clrscr();
         		int k,lc,jb,l,h=7300000;
         		gotoxy(10,3);printf("ASUS A456UR Rp. 7.300.000");
               gotoxy(10,4);printf("=========================");
               gotoxy(4,5);printf("Masukkan Jumlah Barang : ");scanf("%i",&jb);
               gotoxy(4,6);printf("Dibayar                : Rp.");scanf("%i",&l);fflush(stdin);
               lc=h*jb;
               k=l-lc;
               if(l>=h)
               {
               	char nama[50],alamat[50],hp[50];
                  char h1[50]="7,300,000";
               	gotoxy(4,7); printf("Kembalian : %i",k);
                  gotoxy(4,9);printf("PEMBUATAN NOTA");
                  gotoxy(4,10);printf("Nama Pembeli     : ");gets(nama);
                  gotoxy(4,11);printf("Alamat Pembeli   : ");gets(alamat);
                  gotoxy(4,12);printf("Nomor HP Pembeli : ");gets(hp);
                  gotoxy(4,13);printf("Nota Telah Dibuat...");
                  getch();   clrscr();
						gotoxy(10,3);printf("NOTA PEMBELIAN");
                  gotoxy(10,4);printf("==============");
                  gotoxy(5,6);printf("Nama Pembeli     : %s",nama);
                  gotoxy(5,7);printf("Alamat Pembeli   : %s",alamat);
                  gotoxy(5,8);printf("Nomor HP Pembeli : %s",hp);
                  gotoxy(5,9);printf("Harga 1 Barang     : %s",h1);
                  gotoxy(5,10);printf("Jenis Barang     : ASUS A456UR");
               }//penutup if asus 1
               else if(l<h)
               {
                  gotoxy(4,6);printf("Uang Anda Tidaklah Cukup..");
               }//penutup else if asus 1
               else
               {
               	gotoxy(4,7);printf("Pilihan Tidak Ada");
               }
       }//pasus1

       else if(strcmp(pasus,"2")==0)
       {
      			clrscr();
         		int kj,lj,p,jj,hj=5900000;
         		gotoxy(10,3);printf("ASUS X555QG Rp. 5.900.000");
               gotoxy(10,4);printf("=========================");
               gotoxy(4,5);printf("Masukkan Jumlah Barang : ");scanf("%i",&jj);
               gotoxy(4,6);printf("Dibayar                : Rp.");scanf("%i",&p);fflush(stdin);
               lj=hj*jj;
               kj=p-lj;
               if(p>=hj)
               {
               	char nama[50],alamat[50],hp[50];
                  char h1[50]="5,900,000";
               	gotoxy(4,7); printf("Kembalian : %i",kj);
                  gotoxy(4,9);printf("PEMBUATAN NOTA");
                  gotoxy(4,10);printf("Nama Pembeli     : ");gets(nama);
                  gotoxy(4,11);printf("Alamat Pembeli   : ");gets(alamat);
                  gotoxy(4,12);printf("Nomor HP Pembeli : ");gets(hp);
                  gotoxy(4,13);printf("Nota Telah Dibuat...");
                  getch();   clrscr();
						gotoxy(10,3);printf("NOTA PEMBELIAN");
                  gotoxy(10,4);printf("==============");
                  gotoxy(5,6);printf("Nama Pembeli     : %s",nama);
                  gotoxy(5,7);printf("Alamat Pembeli   : %s",alamat);
                  gotoxy(5,8);printf("Nomor HP Pembeli : %s",hp);
                  gotoxy(5,9);printf("Harga 1 Barang     : %s",h1);
                  gotoxy(5,10);printf("Jenis Barang     : ASUS X555QG");
               }//penutup if asus 1
               else if(p<hj)
               {
                  gotoxy(4,6);printf("Uang Anda Tidaklah Cukup..");
               }//penutup else if asus 1
               else
               {
               	gotoxy(4,7);printf("Pilihan Tidak Ada");
               }
       }//penutup else if

       else if(strcmp(pasus,"3")==0)
       {
      			clrscr();
         		int kj,lj,p,jj,hj=9500000;
         		gotoxy(10,3);printf("ASUS X550IU Rp. 9.500.000");
               gotoxy(10,4);printf("=========================");
               gotoxy(4,5);printf("Masukkan Jumlah Barang : ");scanf("%i",&jj);
               gotoxy(4,6);printf("Dibayar                : Rp.");scanf("%i",&p);fflush(stdin);
               lj=hj*jj;
               kj=p-lj;
               if(p>=hj)
               {
               	char nama[50],alamat[50],hp[50];
                  char h1[50]="9,500,000";
               	gotoxy(4,7); printf("Kembalian : %i",kj);
                  gotoxy(4,9);printf("PEMBUATAN NOTA");
                  gotoxy(4,10);printf("Nama Pembeli     : ");gets(nama);
                  gotoxy(4,11);printf("Alamat Pembeli   : ");gets(alamat);
                  gotoxy(4,12);printf("Nomor HP Pembeli : ");gets(hp);
                  gotoxy(4,13);printf("Nota Telah Dibuat...");
                  getch();   clrscr();
						gotoxy(10,3);printf("NOTA PEMBELIAN");
                  gotoxy(10,4);printf("==============");
                  gotoxy(5,6);printf("Nama Pembeli     : %s",nama);
                  gotoxy(5,7);printf("Alamat Pembeli   : %s",alamat);
                  gotoxy(5,8);printf("Nomor HP Pembeli : %s",hp);
                  gotoxy(5,9);printf("Harga 1 Barang     : %s",h1);
                  gotoxy(5,10);printf("Jenis Barang     : ASUS X550IU");
               }//penutup if asus 1
               else if(p<hj)
               {
                  gotoxy(4,6);printf("Uang Anda Tidaklah Cukup..");
               }//penutup else if asus 1
               else
               {
               	gotoxy(4,7);printf("Pilihan Tidak Ada");
               }
       }//penutup else if

       else if(strcmp(pasus,"4")==0)
       {
      			clrscr();
         		int kj,lj,p,jj,hj=9700000;
         		gotoxy(10,3);printf("VivoBook S15 S510UQ Rp. 9.700.000");
               gotoxy(10,4);printf("=========================");
               gotoxy(4,5);printf("Masukkan Jumlah Barang : ");scanf("%i",&jj);
               gotoxy(4,6);printf("Dibayar                : Rp.");scanf("%i",&p);fflush(stdin);
               lj=hj*jj;
               kj=p-lj;
               if(p>=hj)
               {
               	char nama[50],alamat[50],hp[50];
                  char h1[50]="9,700,000";
               	gotoxy(4,7); printf("Kembalian : %i",kj);
                  gotoxy(4,9);printf("PEMBUATAN NOTA");
                  gotoxy(4,10);printf("Nama Pembeli     : ");gets(nama);
                  gotoxy(4,11);printf("Alamat Pembeli   : ");gets(alamat);
                  gotoxy(4,12);printf("Nomor HP Pembeli : ");gets(hp);
                  gotoxy(4,13);printf("Nota Telah Dibuat...");
                  getch();   clrscr();
						gotoxy(10,3);printf("NOTA PEMBELIAN");
                  gotoxy(10,4);printf("==============");
                  gotoxy(5,6);printf("Nama Pembeli     : %s",nama);
                  gotoxy(5,7);printf("Alamat Pembeli   : %s",alamat);
                  gotoxy(5,8);printf("Nomor HP Pembeli : %s",hp);
                  gotoxy(5,9);printf("Harga 1 Barang     : %s",h1);
                  gotoxy(5,10);printf("Jenis Barang     : Asus VivoBook S15 S510UQ");
               }//penutup if asus 1
               else if(p<hj)
               {
                  gotoxy(4,6);printf("Uang Anda Tidaklah Cukup..");
               }//penutup else if asus 1
               else
               {
               	gotoxy(4,7);printf("Pilihan Tidak Ada");
               }
       }//penutup else if

       else if(strcmp(pasus,"5")
                    

PIEBALDconsult

Разве сообщение об ошибке не говорит вам о линии?
Я вижу, что это:
char b[26]="Добро пожаловать в 8 Tech Hardware";
запускает это:
IntelliSense: значение типа "const char [27]" не может быть использовано для инициализации сущности типа "char [26]"

PIEBALDconsult

И у вас есть закрывающая скобка не на своем месте-переформатируйте свой код, и он должен стать ясным.

Member 13580194

я копирую этот код в sublime

Patrice T

- а где же фальшивка ?
дайте точное сообщение об ошибке и положение!

Member 13580194

Декларация Прекращена Неправильно

Member 13580194

1153,5

Patrice T

Есть еще такая информация, как: номер строки

Member 13580194

(1153,5)

1 Ответов

Рейтинг:
1

Patrice T

Научитесь правильно делать отступы в вашем коде, это покажет его структуру, и это поможет чтению и пониманию. Это также помогает выявлять структурные ошибки.

#include <stdio.h>
#include <conio.h>
#include <string.h>
#include <windows.h>
#include <iostream.h>

void loading()
{
	int a,b;
	clrscr();
	//Pembukaan Loading
	gotoxy(35,3);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",218,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,191);
	gotoxy(35,4);printf("%c",179);gotoxy(48,4);printf("PROGRAM SEDANG DIMUAT");gotoxy(80,4);printf("%c",179);
	gotoxy(35,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%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c%c",192,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,217);

	//Loading Bar
	gotoxy(35,10);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",218,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,191);
	gotoxy(35,11);printf("%c",179);gotoxy(80,11);;printf("%c",179);
	gotoxy(35,12);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",192,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,217);

	gotoxy(36,11);
	for(a=1;a<=44;a++)
	{
		Sleep(40);
		printf("%c",219);
	}//Penutup For Loading

}//penutup Void Loading

void menuawal()
{
	int a,pil1,x;
	char b[26]="Welcome To 8 Tech Hardware";
	back1:
	clrscr();
	gotoxy(45,3);
	for(a=0;a<=25;a++)
	{
		Sleep(40);
		printf("%c",b[a]);
	}//penutup for sambutan
	//------------------------//

	gotoxy(35,5);printf("%c",218);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",196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196);printf("%c",191);
	gotoxy(35,6);printf("%c",179);gotoxy(53,6);printf("LIST PROGRAM");gotoxy(81,6);printf("%c",179);
	gotoxy(35,7);printf("%c",195);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",196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196);printf("%c",180);
	gotoxy(35,8);printf("%c",179);printf("1. Service Hardware");gotoxy(81,8);printf("%c",179);
	gotoxy(35,9);printf("%c",179);printf("2. Jualan Hardware");gotoxy(81,9);printf("%c",179);
	gotoxy(35,10);printf("%c",192);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",196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196);printf("%c",217);

	gotoxy(35,12);printf("Masukkan Pilihan 1/2 : ");scanf("%i",&pil1);
	if(pil1==1)
	{

		back2:clrscr();
		gotoxy(10,5);printf("Pilih Merek");
		gotoxy(10,6);printf("-----------");
		gotoxy(9,8);printf("1. Samsung");
		gotoxy(9,9);printf("2. Asus");
		gotoxy(9,10);printf("3. Lenovo");
		gotoxy(9,11);printf("0. Kembali");
		gotoxy(9,12);printf("Masukkan Pilihan : ");scanf("%d",&x);

		if(x==1)
		{
			int xz;
			back3:
			clrscr();
			gotoxy(10,5);printf("Tipe Samsung");
			gotoxy(10,6);printf("============");
			gotoxy(9,8);printf("1. Samsung NPX Series");
			gotoxy(9,9);printf("2. Samsung NPC Series");
			gotoxy(9,10);printf("0. Kembali");
			gotoxy(9,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&xz);

			if(xz==1)
			{
				clrscr();
				int a1;
				gotoxy(10,5);printf("Tipe Samsung NPX Series");
				gotoxy(10,6);printf("=======================");
				gotoxy(10,8);printf("1. PC-NP1492X");
				gotoxy(10,9);printf("2. PC-NP1412X");
				gotoxy(10,10);printf("0. Kembali");
				gotoxy(10,11);printf("Masukkan Pilihan : ");scanf("%i",&a1);

				if(a1==1)
				{
					clrscr();int b1;
					gotoxy(10,5);printf("Tipe Samsung PC-NP1492X");
					gotoxy(10,6);printf("=======================");
					gotoxy(10,8);printf("1. Service Only");
					gotoxy(10,9);printf("2. Service & Ganti Hardware");
					gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&b1);

					if(b1==1)
					{
						clrscr();
						int c1,t1,x=700000;char nama[50],alamat[50];
						char hp[50];
						gotoxy(10,5);printf("SERVICE ONLY");
						gotoxy(10,6);printf("============");
						gotoxy(10,8);printf("Harga Total : Rp.700,000");
						gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&c1);fflush(stdin);
						t1=c1-x;

						if(c1>=700000)
						{
							gotoxy(10,11);printf("Kembalian : %i",t1);
							gotoxy(10,13);printf("PEMBUATAN NOTA");
							gotoxy(10,14);printf("Nama Pembeli     : ");gets(nama);
							gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamat);fflush(stdin);
							gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hp);
							gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
							clrscr();
							gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
							gotoxy(30,8);printf("Nomor HP Pembeli : %s",hp);
							gotoxy(30,6);printf("Nama Pembeli     : %s",nama);
							gotoxy(30,7);printf("Alamat Pembeli   : %s",alamat);
							gotoxy(30,10);printf("Jenis Layanan : Service Only");
							gotoxy(30,11);printf("Tipe Barang : Samsung PC-NP1492X");
							gotoxy(35,13);printf("LUNAS");
						}
						else
						{
							gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
						}
					}

					else if(b1==2)
					{
						clrscr();
						int c2,t2,c=1500000;
						char nama1[50],alamat1[50],hp1[50];
						gotoxy(10,5);printf("SERVICE DAN GANTI HARDWARE");
						gotoxy(10,6);printf("============");
						gotoxy(10,8);printf("Harga Total : Rp.1,500,000");
						gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&c2);fflush(stdin);
						t2=c2-c;
						if(c2>=1500000)
						{
							gotoxy(10,11);printf("Kembalian : %i",t2);
							gotoxy(10,13);printf("PEMBUATAN NOTA");
							gotoxy(10,14);printf("Nama Pembeli     : ");gets(nama1);
							gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamat1);fflush(stdin);
							gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hp1);
							gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
							clrscr();
							gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
							gotoxy(30,8);printf("Nomor HP Pembeli : %s",hp1);
							gotoxy(30,6);printf("Nama Pembeli     : %s",nama1);
							gotoxy(30,7);printf("Alamat Pembeli   : %s",alamat1);
							gotoxy(30,10);printf("Jenis Layanan : Service dan Ganti Hardware");
							gotoxy(30,11);printf("Tipe Barang : Samsung PC-NP1492X");
							gotoxy(35,13);printf("LUNAS");
						}
						else
						{
							gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
						}
					}
					else
					{
						printf("Error");
					}
				}// pilihan tipe 1


				else if(a1==2)
				{
					clrscr();
					int b1;
					gotoxy(10,5);printf("Tipe Samsung PC-NP1412X");
					gotoxy(10,6);printf("=======================");
					gotoxy(10,8);printf("1. Service Only");
					gotoxy(10,9);printf("2. Service & Ganti Hardware");
					gotoxy(10,11);printf("Masukkan Pilihan Anda : ");scanf("%i",&b1);

					if(b1)
					{
						clrscr();
						int c1,t1,x=1000000;char nama[50],alamat[50];
						char hp[50];
						gotoxy(10,5);printf("SERVICE ONLY");
						gotoxy(10,6);printf("============");
						gotoxy(10,8);printf("Harga Total : Rp.1,000,000");
						gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&c1);fflush(stdin);
						t1=c1-x;
						if(c1>=1000000)
						{
							gotoxy(10,11);printf("Kembalian : %i",t1);
							gotoxy(10,13);printf("PEMBUATAN NOTA");
							gotoxy(10,14);printf("Nama Pembeli     : ");gets(nama);
							gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamat);fflush(stdin);
							gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hp);
							gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
							clrscr();
							gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
							gotoxy(30,8);printf("Nomor HP Pembeli : %s",hp);
							gotoxy(30,6);printf("Nama Pembeli     : %s",nama);
							gotoxy(30,7);printf("Alamat Pembeli   : %s",alamat);
							gotoxy(30,10);printf("Jenis Layanan : Service Only");
							gotoxy(30,11);printf("Tipe Barang : Samsung PC-NP1412X");
							gotoxy(35,13);printf("LUNAS");
						}
						else
						{
							gotoxy(10,11);printf("Uang Anda Tidak Cukup..!");
						}
					}
					else if(b1==2)
					{
						clrscr();
						int c2,t2,c=2000000;
						char nama1[50],alamat1[50],hp1[50];
						gotoxy(10,5);printf("SERVICE DAN GANTI HARDWARE");
						gotoxy(10,6);printf("============");
						gotoxy(10,8);printf("Harga Total : Rp.2,000,000");
						gotoxy(10,9);printf("Dibayar : Rp.");scanf("%i",&c2);fflush(stdin);
						t2=c2-c;
						if(c2>=2000000)
						{
							gotoxy(10,11);printf("Kembalian : %i",t2);
							gotoxy(10,13);printf("PEMBUATAN NOTA");
							gotoxy(10,14);printf("Nama Pembeli     : ");gets(nama1);
							gotoxy(10,15);printf("Alamat Pembeli   : ");gets(alamat1);fflush(stdin);
							gotoxy(10,16);printf("Nomor HP Pembeli : ");scanf("%s",&hp1);
							gotoxy(10,17);printf("Nota Telah Dibuat...");getch();
							clrscr();
							gotoxy(45,5);printf("NOTA 8 TECH HARDWARE SERVICE");
							gotoxy(30,8);printf("Nomor HP Pembeli : %s",hp1);
							gotoxy(30,6);printf("Nama Pembeli     : %s",nama1);
							gotoxy(30