Вы находитесь на странице: 1из 32

CODE

#include
#include
#include
#include

<stdio.h>
<conio.h>
<math.h>
<dos.h>

int main()
{
char ch;
//Initialized many "code blablablasss" so that it wont duplicate in the switch
int code1, code2, code3, code4, code5, code6, code7, code8, code9, code10, code11, code12, code13, code14, code15,
code16, code17, code18, code19;
int code0;
float n, var;
float side, base, length, width, height, area, radius, radius1, radius2, perimeter, surfacearea, volume, a, b, c, basearea,
base1, base2, diagonal1, diagonal2;
double dradius, dradius1, dradius2, pow1, pow2, pow3, powmain;
//Main animation :D
//Animation time approx 30-40 sec :D
//inspired by the game Fallout 3
textbackground(0);
textcolor(10);
clrscr();
delay(300);
printf("WELCOME TO ROBCO INDUSTRIES
delay(1000);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>S");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SE");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET ");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET T");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TE");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TER");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERM");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMI");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMIN");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINA");
delay(100);

(TM) TERMLINK");
(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/I");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/IN");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQ");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQU");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUI");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIR");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
delay(1000);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
delay(1000);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>S");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SE");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET ");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET F");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FI");
delay(100);

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FIL");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE ");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE P");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PR");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PRO");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROT");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTE");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTEC");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECT");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTI");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTIO");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

(TM) TERMLINK");

delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-O");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OW");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWN");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNE");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:R");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RV");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVE");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");

printf("\n\n>SET FILE PROTECTION-OWNER:RVED A");


delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED AC");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACC");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCO");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOU");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUN");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNT");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
delay(500);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>S");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SE");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET");
delay(100);

clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET ");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET H");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HA");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HAL");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT ");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT ");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT R");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RE");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RES");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT REST");
delay(100);

clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTA");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTAR");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/M");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MA");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAI");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAIN");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
delay(1000);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
delay(500);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");

printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");


printf("\nRETROS BIOS");
delay(500);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
delay(500);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries.");
delay(500);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
delay(500);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
printf("\nRoot (5A8)");
delay(500);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
printf("\nRoot (5A8)");
printf("\nMaintenance Mode");
delay(1000);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
printf("\nRoot (5A8)");
printf("\nMaintenance Mode");
printf("\n\n>R");

delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
printf("\nRoot (5A8)");
printf("\nMaintenance Mode");
printf("\n\n>RU");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
printf("\nRoot (5A8)");
printf("\nMaintenance Mode");
printf("\n\n>RUN");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
printf("\nRoot (5A8)");
printf("\nMaintenance Mode");
printf("\n\n>RUN S");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
printf("\nRoot (5A8)");
printf("\nMaintenance Mode");
printf("\n\n>RUN SE");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
printf("\nRoot (5A8)");
printf("\nMaintenance Mode");
printf("\n\n>RUN SER");
delay(100);
clrscr();

printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");


printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
printf("\nRoot (5A8)");
printf("\nMaintenance Mode");
printf("\n\n>RUN SERV");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
printf("\nRoot (5A8)");
printf("\nMaintenance Mode");
printf("\n\n>RUN SERVE");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
printf("\nRoot (5A8)");
printf("\nMaintenance Mode");
printf("\n\n>RUN SERVER");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
printf("\nRoot (5A8)");
printf("\nMaintenance Mode");
printf("\n\n>RUN SERVER1");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");
printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
printf("\nRoot (5A8)");
printf("\nMaintenance Mode");
printf("\n\n>RUN SERVER1.");
delay(100);
clrscr();
printf("WELCOME TO ROBCO INDUSTRIES (TM) TERMLINK");
printf("\n\n>SET TERMINAL/INQUIRE");

printf("\n\nRIT-V300");
printf("\n\n>SET FILE PROTECTION-OWNER:RVED ACCOUNTS.F");
printf("\n>SET HALT RESTART/MAINT");
printf("\n\nInitializing Terminal MF Boot Agent v2.3.0");
printf("\nRETROS BIOS");
printf("\nRBIOS-4.02.08.00 52EE5.E7.E8");
printf("\nCopyrighted 1970-2203 Robco Industries");
printf("\nUppermem: 64 KB");
printf("\nRoot (5A8)");
printf("\nMaintenance Mode");
printf("\n\n>RUN SERVER1.F");
delay(1000);
clrscr();
delay(500);
printf("Robco Industries Unified Operating System [Version 2.3.0]");
delay(500);
clrscr();
printf("Robco Industries Unified Operating System [Version 2.3.0]");
printf("\n<c> 1970-2077 Robco Industries. All rights reserved");
delay(500);
clrscr();
printf("Robco Industries Unified Operating System [Version 2.3.0]");
printf("\n<c> 1970-2077 Robco Industries. All rights reserved");
delay(500);
clrscr();
printf("Robco Industries Unified Operating System [Version 2.3.0]");
printf("\n<c> 1970-2077 Robco Industries. All rights reserved");
printf("\n\nC:\\Users\\Admin>");
delay(1000);
clrscr();
printf("Robco Industries Unified Operating System [Version 2.3.0]");
printf("\n<c> 1970-2077 Robco Industries. All rights reserved");
printf("\n\nC:\\Users\\Admin>G");
delay(100);
clrscr();
printf("Robco Industries Unified Operating System [Version 2.3.0]");
printf("\n<c> 1970-2077 Robco Industries. All rights reserved");
printf("\n\nC:\\Users\\Admin>GE");
delay(100);
clrscr();
printf("Robco Industries Unified Operating System [Version 2.3.0]");
printf("\n<c> 1970-2077 Robco Industries. All rights reserved");
printf("\n\nC:\\Users\\Admin>GEO");
delay(100);
clrscr();
printf("Robco Industries Unified Operating System [Version 2.3.0]");
printf("\n<c> 1970-2077 Robco Industries. All rights reserved");
printf("\n\nC:\\Users\\Admin>GEOC");
delay(100);
clrscr();
printf("Robco Industries Unified Operating System [Version 2.3.0]");
printf("\n<c> 1970-2077 Robco Industries. All rights reserved");
printf("\n\nC:\\Users\\Admin>GEOCA");
delay(100);
clrscr();
printf("Robco Industries Unified Operating System [Version 2.3.0]");
printf("\n<c> 1970-2077 Robco Industries. All rights reserved");
printf("\n\nC:\\Users\\Admin>GEOCAL");
delay(100);
clrscr();
printf("Robco Industries Unified Operating System [Version 2.3.0]");
printf("\n<c> 1970-2077 Robco Industries. All rights reserved");
printf("\n\nC:\\Users\\Admin>GEOCALC");
delay(100);
clrscr();
printf("Robco Industries Unified Operating System [Version 2.3.0]");
printf("\n<c> 1970-2077 Robco Industries. All rights reserved");
printf("\n\nC:\\Users\\Admin>GEOCALC.");
delay(100);
clrscr();
printf("Robco Industries Unified Operating System [Version 2.3.0]");
printf("\n<c> 1970-2077 Robco Industries. All rights reserved");
printf("\n\nC:\\Users\\Admin>GEOCALC.E");
delay(100);
clrscr();
printf("Robco Industries Unified Operating System [Version 2.3.0]");
printf("\n<c> 1970-2077 Robco Industries. All rights reserved");

printf("\n\nC:\\Users\\Admin>GEOCALC.EX");
delay(100);
clrscr();
printf("Robco Industries Unified Operating System [Version 2.3.0]");
printf("\n<c> 1970-2077 Robco Industries. All rights reserved");
printf("\n\nC:\\Users\\Admin>GEOCALC.EXE");
delay(1500);
clrscr();
delay(500);
//2nd animations
printf("**Ver0.01 Beta**");
printf("\n\n\t\tROBCO INDUSTRIES UNIFIED OPERATING SYSTEM");
printf("\n\t\t COPYRIGHT 1970-2077 ROBCO INDUSTRIES");
printf("\n\t\t\t\t -Server 1-");
printf("\n\n\n\n\t@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@");
printf("\n\t@
@");
printf("\n\t@ Area, Surface area, Perimeter and Volume Calculator @");
printf("\n\t@ of various geometric figures
@");
printf("\n\t@
@");
printf("\n\t@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@");
delay(1000);
printf("\n\n\n\n\t Programmed by: Lanz Christian C. de la Cruz");
printf("\n\t Stub code:1800");
delay(3000);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING...");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|*
|");
printf("\n\t\t\t|*
|");
printf("\n\t\t\t|*
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING. ");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|**
|");
printf("\n\t\t\t|**
|");
printf("\n\t\t\t|**
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING.. ");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|***
|");
printf("\n\t\t\t|***
|");
printf("\n\t\t\t|***
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING...");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|****
|");
printf("\n\t\t\t|****
|");
printf("\n\t\t\t|****
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING. ");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|*****
|");
printf("\n\t\t\t|*****
|");
printf("\n\t\t\t|*****
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING.. ");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|******
|");
printf("\n\t\t\t|******
|");
printf("\n\t\t\t|******
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING...");

printf("\n\t\t\t _______________________");
printf("\n\t\t\t|*******
|");
printf("\n\t\t\t|*******
|");
printf("\n\t\t\t|*******
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING. ");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|********
|");
printf("\n\t\t\t|********
|");
printf("\n\t\t\t|********
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING.. ");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|*********
|");
printf("\n\t\t\t|*********
|");
printf("\n\t\t\t|*********
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING...");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|**********
|");
printf("\n\t\t\t|**********
|");
printf("\n\t\t\t|**********
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING. ");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|***********
|");
printf("\n\t\t\t|***********
|");
printf("\n\t\t\t|***********
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING.. ");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|************
|");
printf("\n\t\t\t|************
|");
printf("\n\t\t\t|************
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING...");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|*************
|");
printf("\n\t\t\t|*************
|");
printf("\n\t\t\t|*************
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING. ");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|**************
|");
printf("\n\t\t\t|**************
|");
printf("\n\t\t\t|**************
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING.. ");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|***************
|");
printf("\n\t\t\t|***************
|");
printf("\n\t\t\t|***************
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING...");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|****************
|");
printf("\n\t\t\t|****************
|");
printf("\n\t\t\t|****************
|");
printf("\n\t\t\t|______________________|");

delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING. ");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|*****************
|");
printf("\n\t\t\t|*****************
|");
printf("\n\t\t\t|*****************
|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING.. ");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|****************** |");
printf("\n\t\t\t|****************** |");
printf("\n\t\t\t|****************** |");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING...");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|******************* |");
printf("\n\t\t\t|******************* |");
printf("\n\t\t\t|******************* |");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING. ");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|******************** |");
printf("\n\t\t\t|******************** |");
printf("\n\t\t\t|******************** |");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING.. ");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|**********************|");
printf("\n\t\t\t|**********************|");
printf("\n\t\t\t|**********************|");
printf("\n\t\t\t|______________________|");
delay(200);
clrscr();
printf("\n\n\n\n\n\n\n\t\t\t
LOADING COMPLETE!");
printf("\n\t\t\t _______________________");
printf("\n\t\t\t|**********************|");
printf("\n\t\t\t|**********************|");
printf("\n\t\t\t|**********************|");
printf("\n\t\t\t|______________________|");
delay(2000);
//Main menu
clrscr();
TRUE:
;
clrscr();
printf("\n\n\t\tROBCO INDUSTRIES UNIFIED OPERATING SYSTEM");
printf("\n\t\t COPYRIGHT 1970-2077 ROBCO INDUSTRIES");
printf("\n\t\t\t\t -Server 1-");
printf("\n\n\t\t\tAvailable Geometric Figures");
delay(500);
printf("\n
_____________________________________________________________________ ");
printf("\n |
|");
printf("\n | 2D POLYGONS
3D POLYGONS
|");
printf("\n |
|");
printf("\n | 1 = Circle
10 = Sphere
|");
printf("\n | 2 = Rectangle
11 = Cone
|");
printf("\n | 3 = Triangle
12 = Cube
|");
printf("\n | 4 = Square
13 = Cylinder
|");
printf("\n | 5 = Ellipse
14 = Cuboids
|");
printf("\n | 6 = Rhombus
15 = Any Regular Pyramid
|");
printf("\n | 7 = Trapezium/Trapezoid
16 = Ellipsoid
|");
printf("\n | 8 = Parallelogram
17 = Frustum of a Cone
|");
printf("\n | 9 = Regular n-sided polygon
|");
printf("\n |_____________________________________________________________________|");
delay(500);
printf("\n\n\t Please enter the number code for your geometric figure: ");
scanf("%d", &code1);
//Main Switch

switch(code1)
{
case 1:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t ____________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Area
2 = Perimeter
|");
printf("\n\t\t\t|
|");
printf("\n\t\t\t|____________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code2);
switch(code2)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the radius: ");
scanf("%f", &radius);
area = 3.141592653 * radius * radius;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe area of the circle is = %0.2f units squared", area);
break;
}
case 2:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of your radius: ");
scanf("%f", &radius);
perimeter = 2 * 3.141592653 * radius;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe perimeter of the circle is = %0.2f units", perimeter);
break;
}
default:
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}
}
break;
}
case 2:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t ____________________________________ ");

printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Area
2 = Perimeter
|");
printf("\n\t\t\t|____________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code3);
switch(code3)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length: ");
scanf("%f", &length);
printf("\n\n\t\tPlease enter the width: ");
scanf("%f", &width);
area = width * length;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe area of the rectangle is = %0.2f unit squared", area);
break;
}
case 2:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length: ");
scanf("%f", &length);
printf("\n\n\t\tPlease enter the width: ");
scanf("%f", &width);
perimeter = 2 * (width + length);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe perimeter of the rectangle is = %0.2f units", perimeter);
break;
}
default:
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}
}
break;
}
case 3:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t ____________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Area
2 = Perimeter
|");
printf("\n\t\t\t|____________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code4);

switch(code4)
{
case 1:

case 2:

default:

}
break;

{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of your base: ");
scanf("%f", &length);
printf("\n\n\t\tPlease enter the height: ");
scanf("%f", &height);
area = 0.5 * base * height;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe area of the triangle is = %0.2f unit squared", area);
break;
}
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the 1st side: ");
scanf("%f", &a);
printf("\n\n\t\tPlease enter the length of the 2nd side: ");
scanf("%f", &b);
printf("\n\n\t\tPlease enter the length of the 3rd side: ");
scanf("%f", &c);
perimeter = a + b + c;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe perimeter of the triangle is = %0.2f units", perimeter);
break;
}
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}

}
case 4:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t ____________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Area
2 = Perimeter
|");
printf("\n\t\t\t|____________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code5);
switch(code5)
{
case 1:
{

clrscr();
printf("\n\n\n\n\t\tPlease enter the length the sides: ");
scanf("%f", &side);
area = side * side;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe area of the square is = %0.2f unit squared", area);
break;
}
case 2:

default:

}
break;

{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the sides: ");
scanf("%f", &side);
perimeter = 4 * side;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe perimeter of the square is = %0.2f units", perimeter);
break;
}
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}

}
case 5:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t ____________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Area
2 = Perimeter
|");
printf("\n\t\t\t|____________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code6);
switch(code6)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of your Major Axis: ");
scanf("%f", &radius1);
printf("\n\n\t\tPlease enter the length of your Minor Axis: ");
scanf("%f", &radius2);
area = 3.14159265359 * radius1 * radius2;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();

printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe area of the ellipse is = %0.2f unit squared", area);
break;
}
case 2:

{
clrscr();
printf("\n\n\n\n\t\tWARNING! This is only an approximation.");
delay(1000);
printf("\n\n\n\t\tThe approximation is guaranteed to be within \n\t\t\t5 percent of the true

value.");\

delay(3000);
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of your Major Axis: ");
scanf("%f", &radius1);
printf("\n\n\t\tPlease enter the length of your Minor Axis: ");
scanf("%f", &radius2);
perimeter = 3.14159265359 * (3 * (radius1 + radius2) - sqrt((3*radius1 + radius2)*(radius1 +

3*radius2)));

clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe perimeter of the ellipse is = %0.2f units", perimeter);
break;
}
default:
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}
}
break;
}
case 6:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t ____________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Area
2 = Perimeter
|");
printf("\n\t\t\t|____________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code7);
switch(code7)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the 1st diagonal: ");
scanf("%f", &diagonal1);
printf("\n\n\t\tPlease enter the length of the 2nd diagonal: ");
scanf("%f", &diagonal2);
area = 0.5 * diagonal1 * diagonal2;
clrscr();

case 2:

printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe area of the Rhombus is = %0.2f unit squared", area);
break;
}
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the sides: ");
scanf("%f", &side);
perimeter = 4 * side;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe perimeter of the square is = %0.2f units", perimeter);
break;
}
default:
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}

}
break;
}
case 7:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t ____________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Area
2 = Perimeter
|");
printf("\n\t\t\t|____________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code8);
switch(code7)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the 1st base: ");
scanf("%f", &a);
printf("\n\n\t\tPlease enter the length of the 2nd base: ");
scanf("%f", &b);
printf("\n\n\t\tPlease enter the height: ");
scanf("%f", &height);
area = 0.5 * (a+b) *height;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();

case 2:

default:

printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe area of the Trapezium/Trapezoid is = %0.2f unit squared", area);
break;
}
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the 1st base: ");
scanf("%f", &a);
printf("\n\n\t\tPlease enter the length of the 2nd base: ");
scanf("%f", &b);
printf("\n\n\t\tPlease enter the height: ");
scanf("%f", &height);
perimeter = height * (a + b) * 0.5;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe perimeter of the Trapezium/Trapezoid is = %0.2f units", area);
break;
}
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}

}
break;
}
case 8:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t ____________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Area
2 = Perimeter
|");
printf("\n\t\t\t|____________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code9);
switch(code9)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the base: ");
scanf("%f", &base);
printf("\n\n\t\tPlease enter the length of the altitude: ");
scanf("%f", &height);
area = base * height;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");

case 2:

default:

delay(200);
clrscr();
printf("\n\n\n\tThe area of the Trapezium/Trapezoid is = %0.2f unit squared", area);
break;
}
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the 1st base: ");
scanf("%f", &a);
printf("\n\n\t\tPlease enter the length of the 2nd base: ");
scanf("%f", &b);
printf("\n\n\t\tPlease enter the height: ");
scanf("%f", &height);
perimeter = height * (a + b) * 0.5;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe perimeter of the Trapezium/Trapezoid is = %0.2f units", area);
break;
}
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}

}
break;
}
case 9:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t ____________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Area
2 = Perimeter
|");
printf("\n\t\t\t|____________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code10);
switch(code10)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the number of sides: ");
scanf("%f", &n);
printf("\n\n\t\tPlease enter the length of the sides: ");
scanf("%f", &side);
printf("\n\n\t\tPlease enter the apothem/inradius of the said polygon: ");
scanf("%f", &radius);
area = 0.5 * (n * side * radius);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();

case 2:

default:

printf("\n\n\n\tThe area of the %.0f sided polygon is = %0.2f unit squared", n, area);
break;
}
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the number of sides: ");
scanf("%f", &n);
printf("\n\n\t\tPlease enter the length the sides: ");
scanf("%f", &side);
perimeter = n * side;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe perimeter of the %.0f sided polygon is = %0.2f units", n, area);
break;
}
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}

}
break;
}
case 10:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t _______________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Surface Area
2 = Volume
|");
printf("\n\t\t\t|_______________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code11);
switch(code11)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the radius: ");
scanf("%f", &radius);
surfacearea = 4 * 3.14159265359 * radius * radius;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe Surface area of the sphere is = %0.2f unit squared", surfacearea);
break;
}
case 2:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the radius: ");
scanf("%f", &radius);

default:

volume = 1.33333333 * 3.14159265359 * radius * radius * radius;


clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe volume of the sphere is = %0.2f unit cube", volume);
break;
}
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}

}
break;
}
case 11:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t _______________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Surface Area
2 = Volume
|");
printf("\n\t\t\t|_______________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code12);
switch(code12)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the radius: ");
scanf("%f", &radius);
printf("\n\n\t\tPlease enter the height: ");
scanf("%f", &height);
surfacearea = 0.333333333 * 3.14159265359 * radius * radius * height;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe Surface area of the cone is = %0.2f unit squared", surfacearea);
break;
}
case 2:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the radius: ");
scanf("%f", &radius);
printf("\n\n\t\tPlease enter the height: ");
scanf("%f", &height);
volume = 1.333333333 * 3.14159265359 * radius * radius * height;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");

default:

delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe volume of the cone is = %0.2f unit cube", surfacearea);
break;
}
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}

}
break;
}
case 12:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t _______________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Surface Area
2 = Volume
|");
printf("\n\t\t\t|_______________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code13);
switch(code13)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the side: ");
scanf("%f", &side);
surfacearea = 6 * side * side;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe Surface area of the cube is = %0.2f unit squared", surfacearea);
break;
}
case 2:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the side: ");
scanf("%f", side);
volume = side * side * side;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe volume of the cube is = %0.2f unit cube", volume);
break;

default:

}
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}

}
break;
}
case 13:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t _______________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Surface Area
2 = Volume
|");
printf("\n\t\t\t|_______________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code14);
switch(code14)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the radius: ");
scanf("%f", &radius);
printf("\n\n\t\tPlease enter the height: ");
scanf("%f", &height);
surfacearea = 2 * 3.14159265359 * radius * (radius + height);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe Surface area of the cylinder is = %0.2f unit squared", surfacearea);
break;
}
case 2:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length of the radius: ");
scanf("%f", &radius);
printf("\n\n\t\tPlease enter the height: ");
scanf("%f", &height);
volume = 3.14159265359 * radius * radius * height;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe Volume of the cylinder is = %0.2f unit cube", volume);
break;
}
default:
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");

break;
}
}
break;
}
case 14:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t _______________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Surface Area
2 = Volume
|");
printf("\n\t\t\t|_______________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code15);
switch(code15)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length: ");
scanf("%f", &length);
printf("\n\n\t\tPlease enter the width: ");
scanf("%f", &width);
printf("\n\n\t\tPlease enter the height: ");
scanf("%f", &height);
surfacearea = 2 * (width * length + length * width + height * width);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe Surface area of the cuboid is = %0.2f unit squared", surfacearea);
break;
}
case 2:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the length: ");
scanf("%f", &length);
printf("\n\n\t\tPlease enter the width: ");
scanf("%f", &width);
printf("\n\n\t\tPlease enter the height: ");
scanf("%f", &height);
volume = length * width * height;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe volume of the cuboid is = %0.2f unit cube", volume);
break;
}
default:
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}

}
break;
}
case 15:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t _______________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Surface Area
2 = Volume
|");
printf("\n\t\t\t|_______________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code16);
switch(code16)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the area of the base: ");
scanf("%f", &base);
printf("\n\n\t\tPlease enter the perimeter of the base: ");
scanf("%f", &perimeter);
printf("\n\n\t\tPlease enter the slant height: ");
scanf("%f", &height);
surfacearea = ((0.5) * (perimeter*height)) + base;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe Surface area of the pyramid is = %0.2f unit squared", surfacearea);
break;
}
case 2:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the base area: ");
scanf("%f", &basearea);
printf("\n\n\t\tPlease enter the height: ");
scanf("%f", &height);
volume = 0.3333333 * basearea * height;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe Volume of the pyramid is = %0.2f unit cube", volume);
break;
}
default:
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}
}
break;
}
case 16:

{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t _______________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Surface Area
2 = Volume
|");
printf("\n\t\t\t|_______________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code16);
switch(code16)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the 1st radius: ");
scanf("%f", &radius);
printf("\n\n\t\tPlease enter the 2nd radius: ");
scanf("%f", &radius1);
printf("\n\n\t\tPlease enter the 3rd radius: ");
scanf("%f", &radius2);
dradius = radius*radius1;
dradius1 = radius*radius2;
dradius2 = radius1*radius2;
pow1 = pow(dradius, 1.6);
pow2 = pow(dradius1, 1.6);
pow3 = pow(dradius2, 1.6);
powmain = pow1 + pow2 + pow3;
surfacearea = 4 * 3.14159265359 * pow(powmain/3, 0.625);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe Surface area of the ellipsoid is = %0.2lf unit squared", surfacearea);
break;
}
case 2:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the 1st radius: ");
scanf("%f", &radius);
printf("\n\n\t\tPlease enter the 2nd radius: ");
scanf("%f", &radius1);
printf("\n\n\t\tPlease enter the 3rd radius: ");
scanf("%f", &radius2);
volume = 1.33333333 * 3.14159265359 * radius * radius1 * radius2;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe volume of the ellipsoid is = %0.2f unit cube", volume);
break;
}
default:
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;

}
break;

}
case 17:
{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t _______________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Surface Area
2 = Volume
|");
printf("\n\t\t\t|_______________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code17);
switch(code17)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the Base radius: ");
scanf("%f", &radius);
printf("\n\n\t\tPlease enter the Top radius: ");
scanf("%f", &radius1);
printf("\n\n\t\tPlease enter the slant height: ");
scanf("%f", &height);
radius2 = sqrt((height*height) + pow(radius-radius1, 2));
surfacearea = 3.14159265359 * (radius1 * (radius1 + radius2) + radius * (radius+radius2));
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe Surface area of the frustum of the cone is = %0.2lf unit squared",
surfacearea);
case 2:

break;
}

{
clrscr();
printf("\n\n\n\n\t\tPlease enter the Base radius: ");
scanf("%f", &radius);
printf("\n\n\t\tPlease enter the Top radius: ");
scanf("%f", &radius1);
printf("\n\n\t\tPlease enter the slant height: ");
scanf("%f", &height);
volume = 3.14159265359 * height * ((radius*radius) + (radius1*radius1) + radius * radius1)/3;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe volume of the frustum of the cone is = %0.2f unit cube", volume);
break;
}
default:
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;

}
case 18:

}
break;

{
clrscr();
printf("\n\n\n\t\t\t\tOperations Available");
printf("\n\t\t\t _______________________________________ ");
printf("\n\t\t\t|
|");
printf("\n\t\t\t| 1 = Surface Area
2 = Volume
|");
printf("\n\t\t\t|_______________________________________|");
delay(500);
printf("\n\n\t\tPlease enter the number code of your operation: ");
scanf("%d", &code17);
switch(code17)
{
case 1:
{
clrscr();
printf("\n\n\n\n\t\tPlease enter the Perimeter of the base: ");
scanf("%f", &a);
printf("\n\n\t\tPlease enter the Perimeter of the top: ");
scanf("%f", &b);
printf("\n\n\t\tPlease enter the area of the base: ");
scanf("%f", &base1);
printf("\n\n\t\tPlease enter the area of the top: ");
scanf("%f", &base2);
printf("\n\n\t\tPlease enter the slant height: ");
scanf("%f", &height);
basearea = 0.5 * (a+b)*height;
surfacearea = basearea + base1 + base2;
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe Surface area of the frustum of the pyramid is = %0.2f unit squared",

surfacearea);
case 2:

break;
}

{
clrscr();
printf("\n\n\t\tPlease enter the area of the base: ");
scanf("%f", &base1);
printf("\n\n\t\tPlease enter the area of the top: ");
scanf("%f", &base2);
printf("\n\n\t\tPlease enter the altitude: ");
scanf("%f", &height);
volume = 0.3333333333333 * height *(base1 + base2 + sqrt(base1*base2));
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating..");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating...");
delay(200);
clrscr();
printf("\n\n\n\t\tCalculating.");
delay(200);
clrscr();
printf("\n\n\n\tThe volume of the frustum of the pyramid is = %0.2f unit cube", volume);
break;
}
default:
{

}
break;

clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}

default:
{
clrscr();
delay(200);
printf("\n\n\n\n\n\n\n\n\t\t\t\tSyntax ERROR!!!");
break;
}
}
delay(1000);
printf("\n\n\n\n\t\tDo you want to go to the main screen? (Y/N) ");
getchar();
ch=getchar();
if(ch != 'n')
{
clrscr();
printf("\n\n\n\t\tPlease wait...");
delay(100);
clrscr();
printf("\n\n\n\t\tPlease wait.");
delay(100);
clrscr();
printf("\n\n\n\t\tPlease wait..");
delay(100);
clrscr();
printf("\n\n\n\t\tPlease wait...");
delay(100);
clrscr();
printf("\n\n\n\t\tPlease wait.");
delay(100);
clrscr();
printf("\n\n\n\t\tPlease wait..");
delay(100);
clrscr();
printf("\n\n\n\t\tPlease wait...");
delay(100);
clrscr();
printf("\n\n\n\t\tPlease wait.");
delay(100);
clrscr();
printf("\n\n\n\t\tPlease wait..");
delay(100);
clrscr();
printf("\n\n\n\t\tPlease wait...");
delay(100);
goto TRUE;
}
else
{
clrscr();
delay(1000);
printf("\n\n\n\n\n\n\n\n\t\t\t\tTERMINAL LOGGED OUT");
delay(500);
printf("\n\n\t\t\t PLEASE CONTACT AN ADMINISTRATOR");
getch();
return 0;
}