User:PARIS LAWRENCE/sandbox

Request review at WP:AFC
This programming language used here is a C language type and it's created by the new developing programmer PARIS LAWRENCE KHUMALO. This program started as a school project but the fun and understanding of this language is the reason i wanted to share the knowledge i have.....


 * 1) include 
 * 2) include 

int main(int argc, char *argv[]) { float weight; float convertor=1; float height; float AQf; int select; puts("******************************************"); puts("   WELCOME TO THE UNITED KINGDOM        *"); puts("        RECRUITMENT AGENCY              *"); puts("                                        *"); puts("******************************************"); //sleep(2000); //textcolour(RED); puts("All succesful candidate will be posistioned\n  acccording to their AQF outcome"); sleep(1000); puts("******************************************"); puts("*          Data capturing....           *"); puts("******************************************"); puts("Please enter your height:");//prompting the user to enter height scanf("%f",&height);//storing the weith puts("Please enter your weigth:"); scanf("%f",&weight); convertor=weight*0.45359237 ;//converting the weigth entered in pounds to kg AQf=convertor/((height*height)); printf("Your AQf is : %.3f\n",AQf); if(AQf<=30) { if(AQf<20.5)//condition:juniour selection position {   printf("Thank you for trying our agency\nPlease wait for your results\n"); sleep(400); puts("\n"); puts("\n"); puts("You have been been selected for the \n***JUNIOUR position***"); puts("\n"); } if(AQf>=20.5 &&  AQf<=26.9)//condition: captain selection position {   printf("\nThank you for trying our agency\n Please for your results\n"); sleep(1500); puts(""); puts("You have been been selected for the \nCAPTAIN position"); puts("\n"); } if(AQf>=27 &&  AQf<=30)// {   printf("Thank you for trying our agency\n Please for your results\n"); sleep(1500); puts(""); puts("You have been been selected for the \nMAJOR GENERAL position"); puts("\n"); } }  else//this condition will be selected if the first if statement is not true {  puts("apllication rejected"); }

puts(""); system("PAUSE"); return 0; }