Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define _CRT_SECURE_NO_WARNINGS
- #include<stdio.h>
- #include<stdlib.h>
- #include<string.h>
- void movingViolations(int *, int *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *);
- void misdemeanors(int *, int *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *);
- void felonys(int *, int *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *);
- void jailCell(int *);
- int main()
- {
- char chargeA[50] = " ";
- char chargeB[50] = " ";
- char chargeC[50] = " ";
- char chargeD[50] = " ";
- char chargeE[50] = " ";
- char chargeF[50] = " ";
- char chargeG[50] = " ";
- char chargeH[50] = " ";
- char chargeI[50] = " ";
- char chargeJ[50] = " ";
- char chargeK[50] = " ";
- char chargeL[50] = " ";
- char chargeM[50] = " ";
- char chargeN[50] = " ";
- char chargeO[50] = " ";
- int id = 0;
- int fine = 0;
- int jailTime = 0;
- int jail = 5;
- printf(" \t\t\t\t-WackPack- Fine and Jail Calculator.\n\n");
- printf("\n Enter Suspects ID: ");
- scanf("%d",&id);
- //rewind(stdin);
- int choice;
- do
- {
- printf(
- "\n\n\n 1. MOVING VIOLATIONS"
- "\n 2. MISDEMEANORS"
- "\n 3. FELONYS"
- "\n 4. SELECT JAIL"
- "\n--------------------------"
- "\n 5. PRINT JAIL/FINE CODE"
- "\n--------------------------"
- "\n 6. CLEAR CALC"
- "\n 0. Exit"
- "\n\n Enter Your Selection: ");
- scanf("%d", &choice);
- switch (choice)
- {
- case 1:
- movingViolations(&fine, &jailTime, chargeA, chargeB, chargeC, chargeD, chargeE, chargeF, chargeG, chargeH, chargeI, chargeJ, chargeK, chargeL, chargeM, chargeN, chargeO);
- break;
- case 2:
- misdemeanors(&fine, &jailTime, chargeA, chargeB, chargeC, chargeD, chargeE, chargeF, chargeG, chargeH, chargeI, chargeJ, chargeK, chargeL, chargeM, chargeN, chargeO);
- break;
- case 3:
- felonys(&fine, &jailTime, chargeA, chargeB, chargeC, chargeD, chargeE, chargeF, chargeG, chargeH, chargeI, chargeJ, chargeK, chargeL, chargeM, chargeN, chargeO);
- break;
- case 4:
- jailCell(&jail);
- break;
- case 5:
- printf("\n\n\n\nFINE COMMAND:");
- printf("\n-----------------------------------------------------------------------------");
- printf("\n\t/fine %d %d %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s \n", id, fine, chargeA, chargeB, chargeC, chargeD, chargeE, chargeF, chargeG, chargeH, chargeI, chargeJ, chargeK, chargeL, chargeM, chargeN, chargeO);
- printf("-----------------------------------------------------------------------------");
- printf("\n\nJAIL COMMAND:");
- printf("\n-----------------------------------------------------------------------------");
- printf("\n\t/jail%d %d %d %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n",jail, id, jailTime, chargeA, chargeB, chargeC, chargeD, chargeE, chargeF, chargeG, chargeH, chargeI, chargeJ, chargeK, chargeL, chargeM, chargeN, chargeO);
- printf("-----------------------------------------------------------------------------");
- break;
- case 6:
- printf("\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\nCALC CLEARED!");
- printf("\n\nEnter Suspect ID:");
- scanf("%d", &id);
- fine = 0;
- jailTime = 0;
- chargeA[50] = strcpy(chargeA, " ");
- chargeB[50] = strcpy(chargeB, " ");
- chargeC[50] = strcpy(chargeC, " ");
- chargeD[50] = strcpy(chargeD, " ");
- chargeE[50] = strcpy(chargeE, " ");
- chargeF[50] = strcpy(chargeF, " ");
- chargeG[50] = strcpy(chargeG, " ");
- chargeH[50] = strcpy(chargeH, " ");
- chargeI[50] = strcpy(chargeI, " ");
- chargeJ[50] = strcpy(chargeJ, " ");
- chargeK[50] = strcpy(chargeK, " ");
- chargeL[50] = strcpy(chargeL, " ");
- chargeM[50] = strcpy(chargeM, " ");
- chargeN[50] = strcpy(chargeN, " ");
- chargeO[50] = strcpy(chargeO, " ");
- break;
- case 0:
- break;
- default:printf("\n Choose options 0-5! ");
- break;
- }
- } while (choice);
- return(0);
- }
- void movingViolations(int *ptr_fine, int *ptr_jailTime, char chargeA[50], char chargeB[50], char chargeC[50], char chargeD[50], char chargeE[50], char chargeF[50], char chargeG[50], char chargeH[50], char chargeI[50], char chargeJ[50], char chargeK[50], char chargeL[50], char chargeM[50], char chargeN[50], char chargeO[50])
- {
- int choice;
- do
- {
- printf(
- "\n\n\n\t\t --MOVING VIOLATIONS--"
- "\n 1. Illegal Parking"
- "\n 2. Illegal U-Turn"
- "\n 3. Improper Lane Change"
- "\n 4. Driving With No Headlights"
- "\n 5. Unroadworthy Vehicle"
- "\n 6. Broken Head/Tail Light"
- "\n 7. Broken Windshield"
- "\n 8. Failure To Yield To Emergency Vehicle"
- "\n 9. Impeding The Flow of Traffic"
- "\n 10. Speeding"
- "\n 11. Habitual Speeding"
- "\n 12. Running Red Light/Stop Sign"
- "\n 13. Habitual Running Red Lights/Stop Signs"
- "\n 14. Driving Under The Influence"
- "\n 15. Stunt Driving"
- "\n 16. Drag Racing"
- "\n 17. Street Racing"
- "\n 18. Driving Without A License"
- "\n 19. Driving The Wrong Way"
- "\n 20. Hit And Run"
- "\n 21. Careless Driving"
- "\n 22. Reckless Driving"
- "\n 0. GO BACK"
- "\n\n Enter Your Selection: ");
- scanf("%d", &choice);
- switch (choice)
- {
- case 1:
- //Illegal Parking
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Illegal Parking");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Illegal Parking");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Illegal Parking");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Illegal Parking");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Illegal Parking");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Illegal Parking");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Illegal Parking");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Illegal Parking");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Illegal Parking");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Illegal Parking");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Illegal Parking");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Illegal Parking");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Illegal Parking");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Illegal Parking");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Illegal Parking");
- }
- *ptr_fine = *ptr_fine + 500;
- break;
- case 2:
- //Illegal U-Turn
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Illegal U-Turn");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Illegal U-Turn");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Illegal Parking");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Illegal Parking");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Illegal Parking");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Illegal Parking");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Illegal Parking");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Illegal Parking");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Illegal Parking");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Illegal Parking");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Illegal Parking");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Illegal Parking");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Illegal Parking");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Illegal Parking");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Illegal Parking");
- }
- *ptr_fine = *ptr_fine + 500;
- break;
- case 3:
- //Improper Lane Change
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Improper Lane Change");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Improper Lane Change");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Improper Lane Change");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Improper Lane Change");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Improper Lane Change");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Improper Lane Change");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Improper Lane Change");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Improper Lane Change");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Improper Lane Change");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Improper Lane Change");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Improper Lane Change");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Improper Lane Change");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Improper Lane Change");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Improper Lane Change");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Improper Lane Change");
- }
- *ptr_fine = *ptr_fine + 500;
- break;
- case 4:
- //Driving With No Headlights
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Driving With No Headlights");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Driving With No Headlights");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Driving With No Headlights");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Driving With No Headlights");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Driving With No Headlights");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Driving With No Headlights");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Driving With No Headlights");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Driving With No Headlights");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Driving With No Headlights");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Driving With No Headlights");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Driving With No Headlights");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Driving With No Headlights");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Driving With No Headlights");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Driving With No Headlights");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Driving With No Headlights");
- }
- *ptr_fine = *ptr_fine + 500;
- break;
- case 5:
- //Unroadworthy Vehicle
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Unroadworthy Vehicle");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Unroadworthy Vehicle");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Unroadworthy Vehicle");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Unroadworthy Vehicle");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Unroadworthy Vehicle");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Unroadworthy Vehicle");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Unroadworthy Vehicle");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Unroadworthy Vehicle");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Unroadworthy Vehicle");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Unroadworthy Vehicle");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Unroadworthy Vehicle");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Unroadworthy Vehicle");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Unroadworthy Vehicle");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Unroadworthy Vehicle");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Unroadworthy Vehicle");
- }
- *ptr_fine = *ptr_fine + 1500;
- break;
- case 6:
- //Broken Head / Tail Light
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Broken Head / Tail Light");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Broken Head / Tail Light");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Broken Head / Tail Light");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Broken Head / Tail Light");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Broken Head / Tail Light");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Broken Head / Tail Light");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Broken Head / Tail Light");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Broken Head / Tail Light");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Broken Head / Tail Light");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Broken Head / Tail Light");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Broken Head / Tail Light");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Broken Head / Tail Light");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Broken Head / Tail Light");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Broken Head / Tail Light");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Broken Head / Tail Light");
- }
- *ptr_fine = *ptr_fine + 500;
- break;
- case 7:
- //Broken Windshield
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Broken Windshield");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Broken Windshield");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Broken Windshield");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Broken Windshield");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Broken Windshield");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Broken Windshield");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Broken Windshield");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Broken Windshield");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Broken Windshield");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Broken Windshield");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Broken Windshield");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Broken Windshield");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Broken Windshield");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Broken Windshield");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Broken Windshield");
- }
- *ptr_fine = *ptr_fine + 500;
- break;
- case 8:
- //Failure To Yield To Emergency Vehicle
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Failure To Yield To Emergency Vehicle");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Failure To Yield To Emergency Vehicle");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Failure To Yield To Emergency Vehicle");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Failure To Yield To Emergency Vehicle");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Failure To Yield To Emergency Vehicle");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Failure To Yield To Emergency Vehicle");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Failure To Yield To Emergency Vehicle");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Failure To Yield To Emergency Vehicle");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Failure To Yield To Emergency Vehicle");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Failure To Yield To Emergency Vehicle");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Failure To Yield To Emergency Vehicle");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Failure To Yield To Emergency Vehicle");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Failure To Yield To Emergency Vehicle");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Failure To Yield To Emergency Vehicle");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Failure To Yield To Emergency Vehicle");
- }
- *ptr_fine = *ptr_fine + 500;
- break;
- case 9:
- //Impeding The Flow of Traffic
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Impeding The Flow of Traffic");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Impeding The Flow of Traffic");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Impeding The Flow of Traffic");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Impeding The Flow of Traffic");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Impeding The Flow of Traffic");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Impeding The Flow of Traffic");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Impeding The Flow of Traffic");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Impeding The Flow of Traffic");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Impeding The Flow of Traffic");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Impeding The Flow of Traffic");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Impeding The Flow of Traffic");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Impeding The Flow of Traffic");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Impeding The Flow of Traffic");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Impeding The Flow of Traffic");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Impeding The Flow of Traffic");
- }
- *ptr_fine = *ptr_fine + 500;
- break;
- case 10:
- //Speeding
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Speeding");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Speeding");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Speeding");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Speeding");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Speeding");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Speeding");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Speeding");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Speeding");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Speeding");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Speeding");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Speeding");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Speeding");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Speeding");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Speeding");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Speeding");
- }
- *ptr_fine = *ptr_fine + 1000;
- break;
- case 11:
- //Habitual Speeding
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Habitual Speeding");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Habitual Speeding");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Habitual Speeding");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Habitual Speeding");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Habitual Speeding");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Habitual Speeding");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Habitual Speeding");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Habitual Speeding");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Habitual Speeding");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Habitual Speeding");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Habitual Speeding");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Habitual Speeding");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Habitual Speeding");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Habitual Speeding");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Habitual Speeding");
- }
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 20;
- break;
- case 12:
- //Running Red Light/Stop Sign
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Running Red Light/Stop Sign");
- }
- *ptr_fine = *ptr_fine + 1000;
- break;
- case 13:
- //Habitual Running Red Lights/Stop Signs
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Habitual Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Habitual Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Habitual Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Habitual Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Habitual Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Habitual Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Habitual Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Habitual Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Habitual Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Habitual Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Habitual Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Habitual Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Habitual Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Habitual Running Red Light/Stop Sign");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Habitual Running Red Light/Stop Sign");
- }
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 20;
- break;
- case 14:
- //Driving Under The Influence
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Driving Under The Influence");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Driving Under The Influence");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Driving Under The Influence");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Driving Under The Influence");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Driving Under The Influence");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Driving Under The Influence");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Driving Under The Influence");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Driving Under The Influence");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Driving Under The Influence");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Driving Under The Influence");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Driving Under The Influence");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Driving Under The Influence");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Driving Under The Influence");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Driving Under The Influence");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Driving Under The Influence");
- }
- *ptr_fine = *ptr_fine + 3000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 15:
- //Stunt Driving
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Stunt Driving");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Stunt Driving");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Stunt Driving");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Stunt Driving");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Stunt Driving");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Stunt Driving");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Stunt Driving");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Stunt Driving");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Stunt Driving");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Stunt Driving");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Stunt Driving");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Stunt Driving");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Stunt Driving");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Stunt Driving");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Stunt Driving");
- }
- *ptr_fine = *ptr_fine + 1000;
- *ptr_jailTime = *ptr_jailTime + 3;
- break;
- case 16:
- //Drag Racing
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Drag Racing");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Drag Racing");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Drag Racing");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Drag Racing");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Drag Racing");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Drag Racing");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Drag Racing");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Drag Racing");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Drag Racing");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Drag Racing");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Drag Racing");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Drag Racing");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Drag Racing");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Drag Racing");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Drag Racing");
- }
- *ptr_fine = *ptr_fine + 1000;
- *ptr_jailTime = *ptr_jailTime + 3;
- break;
- case 17:
- //Street Racing
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Street Racing");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Street Racing");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Street Racing");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Street Racing");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Street Racing");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Street Racing");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Street Racing");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Street Racing");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Street Racing");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Street Racing");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Street Racing");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Street Racing");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Street Racing");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", DStreet Racing");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Street Racing");
- }
- *ptr_fine = *ptr_fine + 1000;
- *ptr_jailTime = *ptr_jailTime + 3;
- break;
- case 18:
- //Driving Without A License
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Driving Without A License");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Driving Without A License");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Driving Without A License");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Driving Without A License");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Driving Without A License");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Driving Without A License");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Driving Without A License");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Driving Without A License");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Driving Without A License");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Driving Without A License");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Driving Without A License");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Driving Without A License");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Driving Without A License");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Driving Without A License");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Driving Without A License");
- }
- *ptr_fine = *ptr_fine + 2000;
- *ptr_jailTime = *ptr_jailTime + 5;
- break;
- case 19:
- //Driving The Wrong Way
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Driving The Wrong Way");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Driving The Wrong Way");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Driving The Wrong Way");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Driving The Wrong Way");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Driving The Wrong Way");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Driving The Wrong Way");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Driving The Wrong Way");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Driving The Wrong Way");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Driving The Wrong Way");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Driving The Wrong Way");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Driving The Wrong Way");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Driving The Wrong Way");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Driving The Wrong Way");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Driving The Wrong Way");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Driving The Wrong Way");
- }
- *ptr_fine = *ptr_fine + 1000;
- break;
- case 20:
- //Hit And Run
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Hit And Run");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Hit And Run");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Hit And Run");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Hit And Run");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Hit And Run");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Hit And Run");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Hit And Run");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Hit And Run");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Hit And Run");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Hit And Run");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Hit And Run");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Hit And Run");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Hit And Run");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Hit And Run");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Hit And Run");
- }
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 21:
- //Careless Driving
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Careless Driving");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Careless Driving");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Careless Driving");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Careless Driving");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Careless Driving");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Careless Driving");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Careless Driving");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Careless Driving");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Careless Driving");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Careless Driving");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Careless Driving");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Careless Driving");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Careless Driving");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Careless Driving");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Careless Driving");
- }
- *ptr_fine = *ptr_fine + 2500;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 22:
- //Reckless Driving
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Reckless Driving");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Reckless Driving");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Reckless Driving");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Reckless Driving");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Reckless Driving");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Reckless Driving");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Reckless Driving");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Reckless Driving");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Reckless Driving");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Reckless Driving");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Reckless Driving");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Reckless Driving");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Reckless Driving");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Reckless Driving");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Reckless Driving");
- }
- *ptr_fine = *ptr_fine + 10000;
- *ptr_jailTime = *ptr_jailTime + 20;
- break;
- case 0:
- break;
- default:printf("\n\n\n\t\t Choose options 0-22! ");
- break;
- }
- } while (choice);
- }
- void misdemeanors(int *ptr_fine, int *ptr_jailTime, char chargeA[50], char chargeB[50], char chargeC[50], char chargeD[50], char chargeE[50], char chargeF[50], char chargeG[50], char chargeH[50], char chargeI[50], char chargeJ[50], char chargeK[50], char chargeL[50], char chargeM[50], char chargeN[50], char chargeO[50])
- {
- int choice;
- do
- {
- printf(
- "\n\n\n\t\t --MISDEMEANORS--"
- "\n 1. Harassment"
- "\n 2. Public Damage"
- "\n 3. Private Damage"
- "\n 4. Government Damage"
- "\n 5. Public Intoxication"
- "\n 6. Obstruction"
- "\n 7. Disturbing The Peace"
- "\n 8. Discharge of A Firearm"
- "\n 9. Attempted Robbery"
- "\n 10. Attempted GTA"
- "\n 11. Bootleg Alcohol"
- "\n 12. Possession of Raw Illegal Drugs"
- "\n 13. Loitering"
- "\n 14. Accessory To A Crime"
- "\n 15. Assault"
- "\n 16. Eluding Police On Foot"
- "\n 17. Resisting Arrest"
- "\n 18. Animal Abuse"
- "\n 19. Misuse of 911"
- "\n 20. Bribery"
- "\n 21. Contempt of Court"
- "\n 22. Tampering With Evidence"
- "\n 23. Extortion"
- "\n 24. Failure To Provide Drivers License"
- "\n 25. Level 1 Illegal Weapon"
- "\n 26. Level 2 Illegal Weapon"
- "\n 0. GO BACK"
- "\n\n Enter Your Selection: ");
- scanf("%d", &choice);
- switch (choice)
- {
- case 1:
- //Harassment
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Harassment");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Harassment");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Harassment");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Harassment");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Harassment");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Harassment");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Harassment");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Harassment");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Harassment");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Harassment");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Harassment");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Harassment");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Harassment");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Harassment");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Harassment");
- }
- *ptr_fine = *ptr_fine + 500;
- *ptr_jailTime = *ptr_jailTime + 5;
- break;
- case 2:
- //Public Damage
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Public Damage");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Public Damage");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Public Damage");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Public Damage");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Public Damage");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Public Damage");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Public Damage");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Public Damage");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Public Damage");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Public Damage");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Public Damage");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Public Damage");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Public Damage");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Public Damage");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Public Damage");
- }
- *ptr_fine = *ptr_fine + 500;
- *ptr_jailTime = *ptr_jailTime + 5;
- break;
- case 3:
- //Private Damage
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Private Damage");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Private Damage");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Private Damage");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Private Damage");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Private Damage");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Private Damage");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Private Damage");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Private Damage");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Private Damage");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Private Damage");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Private Damage");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Private Damage");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Private Damage");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Private Damage");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Private Damage");
- }
- *ptr_fine = *ptr_fine + 1000;
- *ptr_jailTime = *ptr_jailTime + 5;
- break;
- case 4:
- //Government Damage
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Government Damage");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Government Damage");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Government Damage");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Government Damage");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Government Damage");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Government Damage");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Government Damage");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Government Damage");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Government Damage");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Government Damage");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Government Damage");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Government Damage");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Government Damage");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Government Damage");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Government Damage");
- }
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 15;
- break;
- case 5:
- //Public Intoxication
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Public Intoxication");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Public Intoxication");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Public Intoxication");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Public Intoxication");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Public Intoxication");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Public Intoxication");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Public Intoxication");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Public Intoxication");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Public Intoxication");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Public Intoxication");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Public Intoxication");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Public Intoxication");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Public Intoxication");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Public Intoxication");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Public Intoxication");
- }
- *ptr_fine = *ptr_fine + 500;
- *ptr_jailTime = *ptr_jailTime + 1;
- break;
- case 6:
- //Obstruction
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Obstruction");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Obstruction");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Obstruction");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Obstruction");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Obstruction");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Obstruction");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Obstruction");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Obstruction");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Obstruction");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Obstruction");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Obstruction");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Obstruction");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Obstruction");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Obstruction");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Obstruction");
- }
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 7:
- //Disturbing The Peace
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Disturbing The Peace");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Disturbing The Peace");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Disturbing The Peace");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Disturbing The Peace");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Disturbing The Peace");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Disturbing The Peace");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Disturbing The Peace");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Disturbing The Peace");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Disturbing The Peace");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Disturbing The Peace");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Disturbing The Peace");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Disturbing The Peace");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Disturbing The Peace");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Disturbing The Peace");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Disturbing The Peace");
- }
- *ptr_fine = *ptr_fine + 1000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 8:
- //Discharge of A Firearm
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Discharge of A Firearm");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Discharge of A Firearm");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Discharge of A Firearm");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Discharge of A Firearm");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Discharge of A Firearm");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Discharge of A Firearm");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Discharge of A Firearm");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Discharge of A Firearm");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Discharge of A Firearm");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Discharge of A Firearm");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Discharge of A Firearm");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Discharge of A Firearm");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Discharge of A Firearm");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Discharge of A Firearm");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Discharge of A Firearm");
- }
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 25;
- break;
- case 9:
- //Attempted Robbery
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Attempted Robbery");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Attempted Robbery");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Attempted Robbery");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Attempted Robbery");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Attempted Robbery");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Attempted Robbery");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Attempted Robbery");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Attempted Robbery");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Attempted Robbery");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Attempted Robbery");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Attempted Robbery");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Attempted Robbery");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Attempted Robbery");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Attempted Robbery");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Attempted Robbery");
- }
- *ptr_fine = *ptr_fine + 2000;
- *ptr_jailTime = *ptr_jailTime + 20;
- break;
- case 10:
- //Attempted GTA
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Attempted GTA");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Attempted GTA");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Attempted GTA");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Attempted GTA");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Attempted GTA");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Attempted GTA");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Attempted GTA");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Attempted GTA");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Attempted GTA");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Attempted GTA");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Attempted GTA");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Attempted GTA");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Attempted GTA");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Attempted GTA");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Attempted GTA");
- }
- *ptr_fine = *ptr_fine + 1000;
- break;
- case 11:
- //Bootleg Alcohol
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Bootleg Alcohol");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Bootleg Alcohol");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Bootleg Alcohol");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Bootleg Alcohol");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Bootleg Alcohol");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Bootleg Alcohol");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Bootleg Alcohol");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Bootleg Alcohol");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Bootleg Alcohol");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Bootleg Alcohol");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Bootleg Alcohol");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Bootleg Alcohol");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Bootleg Alcohol");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Bootleg Alcohol");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Bootleg Alcohol");
- }
- *ptr_fine = *ptr_fine + 1000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 12:
- //Possession of Raw Illegal Drugs
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Possession of Raw Illegal Drugs");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Possession of Raw Illegal Drugs");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Possession of Raw Illegal Drugs");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Possession of Raw Illegal Drugs");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Possession of Raw Illegal Drugs");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Possession of Raw Illegal Drugs");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Possession of Raw Illegal Drugs");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Possession of Raw Illegal Drugs");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Possession of Raw Illegal Drugs");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Possession of Raw Illegal Drugs");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Possession of Raw Illegal Drugs");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Possession of Raw Illegal Drugs");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Possession of Raw Illegal Drugs");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Possession of Raw Illegal Drugs");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Possession of Raw Illegal Drugs");
- }
- *ptr_fine = *ptr_fine + 1000;
- *ptr_jailTime = *ptr_jailTime + 5;
- break;
- case 13:
- //Loitering
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Loitering");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Loitering");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Loitering");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Loitering");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Loitering");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Loitering");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Loitering");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Loitering");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Loitering");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Loitering");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Loitering");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Loitering");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Loitering");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Loitering");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Loitering");
- }
- *ptr_fine = *ptr_fine + 1000;
- *ptr_jailTime = *ptr_jailTime + 5;
- break;
- case 14:
- //Accessory To A Crime
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Accessory To A Crime");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Accessory To A Crime");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Accessory To A Crime");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Accessory To A Crime");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Accessory To A Crime");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Accessory To A Crime");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Accessory To A Crime");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Accessory To A Crime");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Accessory To A Crime");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Accessory To A Crime");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Accessory To A Crime");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Accessory To A Crime");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Accessory To A Crime");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Accessory To A Crime");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Accessory To A Crime");
- }
- *ptr_fine = *ptr_fine + 100;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 15:
- //Assault
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Assault");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Assault");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Assault");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Assault");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Assault");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Assault");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Assault");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Assault");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Assault");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Assault");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Assault");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Assault");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Assault");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Assault");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Assault");
- }
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 16:
- //Eluding Police On Foot
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Eluding Police On Foot");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Eluding Police On Foot");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Eluding Police On Foot");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Eluding Police On Foot");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Eluding Police On Foot");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Eluding Police On Foot");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Eluding Police On Foot");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Eluding Police On Foot");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Eluding Police On Foot");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Eluding Police On Foot");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Eluding Police On Foot");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Eluding Police On Foot");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Eluding Police On Foot");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Eluding Police On Foot");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Eluding Police On Foot");
- }
- *ptr_fine = *ptr_fine + 500;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 17:
- //Resisting Arrest
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Resisting Arrest");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Resisting Arrest");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Resisting Arrest");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Resisting Arrest");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Resisting Arrest");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Resisting Arrest");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Resisting Arrest");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Resisting Arrest");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Resisting Arrest");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Resisting Arrest");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Resisting Arrest");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Resisting Arrest");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Resisting Arrest");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Resisting Arrest");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Resisting Arrest");
- }
- *ptr_fine = *ptr_fine + 1000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 18:
- //Animal Abuse
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Animal Abuse");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Animal Abuse");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Animal Abuse");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Animal Abuse");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Animal Abuse");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Animal Abuse");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Animal Abuse");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Animal Abuse");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Animal Abuse");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Animal Abuse");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Animal Abuse");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Animal Abuse");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Animal Abuse");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Animal Abuse");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Animal Abuse");
- }
- *ptr_fine = *ptr_fine + 500;
- *ptr_jailTime = *ptr_jailTime + 5;
- break;
- case 19:
- //Misuse of 911
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Misuse of 911");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Misuse of 911");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Misuse of 911");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Misuse of 911");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Misuse of 911");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Misuse of 911");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Misuse of 911");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Misuse of 911");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Misuse of 911");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Misuse of 911");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Misuse of 911");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Misuse of 911");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Misuse of 911");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Misuse of 911");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Misuse of 911");
- }
- *ptr_fine = *ptr_fine + 1000;
- *ptr_jailTime = *ptr_jailTime + 15;
- break;
- case 20:
- //Bribery
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Bribery");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Bribery");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Bribery");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Bribery");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Bribery");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Bribery");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Bribery");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Bribery");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Bribery");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Bribery");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Bribery");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Bribery");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Bribery");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Bribery");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Bribery");
- }
- *ptr_fine = *ptr_fine + 250;
- *ptr_jailTime = *ptr_jailTime + 5;
- break;
- case 21:
- //Contempt of Court
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Contempt of Court");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Contempt of Court");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Contempt of Court");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Contempt of Court");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Contempt of Court");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Contempt of Court");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Contempt of Court");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Contempt of Court");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Contempt of Court");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Contempt of Court");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Contempt of Court");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Contempt of Court");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Contempt of Court");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Contempt of Court");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Contempt of Court");
- }
- *ptr_fine = *ptr_fine + 500;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 22:
- //Tampering With Evidence
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Tampering With Evidence");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Tampering With Evidence");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Tampering With Evidence");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Tampering With Evidence");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Tampering With Evidence");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Tampering With Evidence");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Tampering With Evidence");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Tampering With Evidence");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Tampering With Evidence");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Tampering With Evidence");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Tampering With Evidence");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Tampering With Evidence");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Tampering With Evidence");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Tampering With Evidence");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Tampering With Evidence");
- }
- *ptr_fine = *ptr_fine + 500;
- *ptr_jailTime = *ptr_jailTime + 7;
- break;
- case 23:
- //Extortion
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Extortion");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Extortion");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Extortion");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Extortion");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Extortion");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Extortion");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Extortion");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Extortion");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Extortion");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Extortion");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Extortion");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Extortion");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Extortion");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Extortion");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Extortion");
- }
- *ptr_fine = *ptr_fine + 250;
- *ptr_jailTime = *ptr_jailTime + 5;
- break;
- case 24:
- //Failure To Provide Drivers License
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Failure To Provide Drivers License");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Failure To Provide Drivers License");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Failure To Provide Drivers License");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Failure To Provide Drivers License");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Failure To Provide Drivers License");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Failure To Provide Drivers License");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Failure To Provide Drivers License");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Failure To Provide Drivers License");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Failure To Provide Drivers License");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Failure To Provide Drivers License");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Failure To Provide Drivers License");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Failure To Provide Drivers License");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Failure To Provide Drivers License");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Failure To Provide Drivers License");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Failure To Provide Drivers License");
- }
- *ptr_fine = *ptr_fine + 100;
- *ptr_jailTime = *ptr_jailTime + 2;
- break;
- case 25:
- //Level 1 Illegal Weapon
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Level 1 Illegal Weapon");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Level 1 Illegal Weapon");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Level 1 Illegal Weapon");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Level 1 Illegal Weapon");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Level 1 Illegal Weapon");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Level 1 Illegal Weapon");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Level 1 Illegal Weapon");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Level 1 Illegal Weapon");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Level 1 Illegal Weapon");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Level 1 Illegal Weapon");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Level 1 Illegal Weapon");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Level 1 Illegal Weapon");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Level 1 Illegal Weapon");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Level 1 Illegal Weapon");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Level 1 Illegal Weapon");
- }
- *ptr_fine = *ptr_fine + 1000;
- *ptr_jailTime = *ptr_jailTime + 15;
- break;
- case 26:
- //Level 2 Illegal Weapon
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Level 2 Illegal Weapon");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Level 2 Illegal Weapon");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Level 2 Illegal Weapon");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Level 2 Illegal Weapon");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Level 2 Illegal Weapon");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Level 2 Illegal Weapon");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Level 2 Illegal Weapon");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Level 2 Illegal Weapon");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Level 2 Illegal Weapon");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Level 2 Illegal Weapon");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Level 2 Illegal Weapon");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Level 2 Illegal Weapon");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Level 2 Illegal Weapon");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Level 2 Illegal Weapon");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Level 2 Illegal Weapon");
- }
- *ptr_fine = *ptr_fine + 3000;
- *ptr_jailTime = *ptr_jailTime + 20;
- break;
- case 0:
- break;
- default:printf("\n\n\n\t\t Choose options 0-26! ");
- break;
- }
- } while (choice);
- }
- void felonys(int *ptr_fine, int *ptr_jailTime, char chargeA[50], char chargeB[50], char chargeC[50], char chargeD[50], char chargeE[50], char chargeF[50], char chargeG[50], char chargeH[50], char chargeI[50], char chargeJ[50], char chargeK[50], char chargeL[50], char chargeM[50], char chargeN[50], char chargeO[50])
- {
- int dirtyMoney = 0;
- int choice;
- do
- {
- printf(
- "\n\n\n\t\t --FELONYS--"
- "\n 1. Stalking"
- "\n 2. Forcible Confinement of A Resident"
- "\n 3. Forcible Confinement of A City Worker"
- "\n 4. Reckless Driving While Evading"
- "\n 5. Possession of A Stolen Vehicle"
- "\n 6. Aggravated Assault"
- "\n 7. Assault On A City Worker"
- "\n 8. Attempted Murder of A Civilian"
- "\n 9. Attempted Murder of A City Worker"
- "\n 10. Manslaughter"
- "\n 11. Unarmed Robbery"
- "\n 12. Armed Robbery"
- "\n 13. Drug Trafficking"
- "\n 14. Intent To Distribute"
- "\n 15. Possesion of Dirty Money"
- "\n 16. Failure To Appear"
- "\n 17. Level 3 Illegal Weapon"
- "\n 18. Unarmed GTA"
- "\n 19. Armed GTA"
- "\n 0. GO BACK"
- "\n\n Enter Your Selection: ");
- scanf("%d", &choice);
- switch (choice)
- {
- case 1:
- //Stalking
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Stalking");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Stalking");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Stalking");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Stalking");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Stalking");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Stalking");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Stalking");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Stalking");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Stalking");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Stalking");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Stalking");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Stalking");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Stalking");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Stalking");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Stalking");
- }
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 2:
- //Forcible Confinement of A Resident
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Forcible Confinement of A Resident");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Forcible Confinement of A Resident");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Forcible Confinement of A Resident");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Forcible Confinement of A Resident");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Forcible Confinement of A Resident");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Forcible Confinement of A Resident");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Forcible Confinement of A Resident");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Forcible Confinement of A Resident");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Forcible Confinement of A Resident");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Forcible Confinement of A Resident");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Forcible Confinement of A Resident");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Forcible Confinement of A Resident");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Forcible Confinement of A Resident");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Forcible Confinement of A Resident");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Forcible Confinement of A Resident");
- }
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 15;
- break;
- case 3:
- //Forcible Confinement of A City Worker
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Forcible Confinement of A City Worker");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Forcible Confinement of A City Worker");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Forcible Confinement of A City Worker");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Forcible Confinement of A City Worker");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Forcible Confinement of A City Worker");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Forcible Confinement of A City Worker");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Forcible Confinement of A City Worker");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Forcible Confinement of A City Worker");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Forcible Confinement of A City Worker");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Forcible Confinement of A City Worker");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Forcible Confinement of A City Worker");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Forcible Confinement of A City Worker");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Forcible Confinement of A City Worker");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Forcible Confinement of A City Worker");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Forcible Confinement of A City Worker");
- }
- *ptr_fine = *ptr_fine + 10000;
- *ptr_jailTime = *ptr_jailTime + 25;
- break;
- case 4:
- //Reckless Driving While Evading
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Reckless Driving While Evading");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Reckless Driving While Evading");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Reckless Driving While Evading");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Reckless Driving While Evading");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Reckless Driving While Evading");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Reckless Driving While Evading");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Reckless Driving While Evading");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Reckless Driving While Evading");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Reckless Driving While Evading");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Reckless Driving While Evading");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Reckless Driving While Evading");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Reckless Driving While Evading");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Reckless Driving While Evading");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Reckless Driving While Evading");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Reckless Driving While Evading");
- }
- *ptr_fine = *ptr_fine + 1500;
- *ptr_jailTime = *ptr_jailTime + 15;
- break;
- case 5:
- //Possession of A Stolen Vehicle
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Possession of A Stolen Vehicle");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Possession of A Stolen Vehicle");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Possession of A Stolen Vehicle");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Possession of A Stolen Vehicle");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Possession of A Stolen Vehicle");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Possession of A Stolen Vehicle");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Possession of A Stolen Vehicle");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Possession of A Stolen Vehicle");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Possession of A Stolen Vehicle");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Possession of A Stolen Vehicle");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Possession of A Stolen Vehicle");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Possession of A Stolen Vehicle");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Possession of A Stolen Vehicle");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Possession of A Stolen Vehicle");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Possession of A Stolen Vehicle");
- }
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 6:
- //Aggravated Assault
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Aggravated Assault");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Aggravated Assault");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Aggravated Assault");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Aggravated Assault");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Aggravated Assault");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Aggravated Assault");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Aggravated Assault");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Aggravated Assault");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Aggravated Assault");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Aggravated Assault");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Aggravated Assault");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Aggravated Assault");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Aggravated Assault");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Aggravated Assault");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Aggravated Assault");
- }
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 7:
- //Assault On A City Worker
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Assault On A City Worker");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Assault On A City Worker");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Assault On A City Worker");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Assault On A City Worker");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Assault On A City Worker");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Assault On A City Worker");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Assault On A City Worker");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Assault On A City Worker");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Assault On A City Worker");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Assault On A City Worker");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Assault On A City Worker");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Assault On A City Worker");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Assault On A City Worker");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Assault On A City Worker");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Assault On A City Worker");
- }
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 8:
- //Attempted Murder of A Civilian
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Attempted Murder of A Civilian");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Attempted Murder of A Civilian");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Attempted Murder of A Civilian");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Attempted Murder of A Civilian");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Attempted Murder of A Civilian");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Attempted Murder of A Civilian");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Attempted Murder of A Civilian");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Attempted Murder of A Civilian");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Attempted Murder of A Civilian");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Attempted Murder of A Civilian");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Attempted Murder of A Civilian");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Attempted Murder of A Civilian");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Attempted Murder of A Civilian");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Attempted Murder of A Civilian");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Attempted Murder of A Civilian");
- }
- *ptr_fine = *ptr_fine + 10000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 9:
- //Attempted Murder of A City Worker
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Attempted Murder of A City Worker");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Attempted Murder of A City Worker");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Attempted Murder of A City Worker");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Attempted Murder of A City Worker");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Attempted Murder of A City Worker");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Attempted Murder of A City Worker");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Attempted Murder of A City Worker");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Attempted Murder of A City Worker");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Attempted Murder of A City Worker");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Attempted Murder of A City Worker");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Attempted Murder of A City Worker");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Attempted Murder of A City Worker");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Attempted Murder of A City Worker");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Attempted Murder of A City Worker");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Attempted Murder of A City Worker");
- }
- *ptr_fine = *ptr_fine + 20000;
- *ptr_jailTime = *ptr_jailTime + 30;
- break;
- case 10:
- //Manslaughter
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Manslaughter");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Manslaughter");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Manslaughter");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Manslaughter");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Manslaughter");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Manslaughter");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Manslaughter");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Manslaughter");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Manslaughter");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Manslaughter");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Manslaughter");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Manslaughter");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Manslaughter");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Manslaughter");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Manslaughter");
- }
- *ptr_fine = *ptr_fine + 1000;
- *ptr_jailTime = *ptr_jailTime + 15;
- break;
- case 11:
- //Unarmed Robbery
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Unarmed Robbery");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Unarmed Robbery");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Unarmed Robbery");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Unarmed Robbery");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Unarmed Robbery");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Unarmed Robbery");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Unarmed Robbery");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Unarmed Robbery");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Unarmed Robbery");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Unarmed Robbery");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Unarmed Robbery");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Unarmed Robbery");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Unarmed Robbery");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Unarmed Robbery");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Unarmed Robbery");
- }
- *ptr_fine = *ptr_fine + 100;
- *ptr_jailTime = *ptr_jailTime + 5;
- break;
- case 12:
- //Armed Robbery
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Armed Robbery");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Armed Robbery");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Armed Robbery");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Armed Robbery");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Armed Robbery");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Armed Robbery");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Armed Robbery");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Armed Robbery");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Armed Robbery");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Armed Robbery");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Armed Robbery");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Armed Robbery");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Armed Robbery");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Armed Robbery");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Armed Robbery");
- }
- *ptr_fine = *ptr_fine + 2000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 13:
- //Drug Trafficking
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Drug Trafficking");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Drug Trafficking");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Drug Trafficking");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Drug Trafficking");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Drug Trafficking");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Drug Trafficking");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Drug Trafficking");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Drug Trafficking");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Drug Trafficking");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Drug Trafficking");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Drug Trafficking");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Drug Trafficking");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Drug Trafficking");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Drug Trafficking");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Drug Trafficking");
- }
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 14:
- //Intent To Distribute
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Intent To Distribute");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Intent To Distribute");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Intent To Distribute");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Intent To Distribute");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Intent To Distribute");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Intent To Distribute");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Intent To Distribute");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Intent To Distribute");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Intent To Distribute");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Intent To Distribute");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Intent To Distribute");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Intent To Distribute");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Intent To Distribute");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Intent To Distribute");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Intent To Distribute");
- }
- *ptr_fine = *ptr_fine + 2500;
- *ptr_jailTime = *ptr_jailTime + 5;
- break;
- case 15:
- //Possesion of Dirty Money
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Possesion of Dirty Money");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Possesion of Dirty Money");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Possesion of Dirty Money");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Possesion of Dirty Money");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Possesion of Dirty Money");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Possesion of Dirty Money");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Possesion of Dirty Money");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Possesion of Dirty Money");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Possesion of Dirty Money");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Possesion of Dirty Money");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Possesion of Dirty Money");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Possesion of Dirty Money");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Possesion of Dirty Money");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Possesion of Dirty Money");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Possesion of Dirty Money");
- }
- printf("\n\nENTER AMOUNT OF DIRTY MONEY:");
- scanf("%d", &dirtyMoney);
- if (dirtyMoney < 999)
- {
- *ptr_fine = *ptr_fine + 100;
- *ptr_jailTime = *ptr_jailTime + 5;
- }
- else if (dirtyMoney < 9999)
- {
- *ptr_fine = *ptr_fine + 500;
- *ptr_jailTime = *ptr_jailTime + 10;
- }
- else if(dirtyMoney < 49999)
- {
- *ptr_fine = *ptr_fine + 1000;
- *ptr_jailTime = *ptr_jailTime + 15;
- }
- else (dirtyMoney > 50000);
- {
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 20;
- }
- break;
- case 16:
- //Failure To Appear
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Failure To Appear");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Failure To Appear");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Failure To Appear");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Failure To Appear");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Failure To Appear");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Failure To Appear");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Failure To Appear");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Failure To Appear");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Failure To Appear");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Failure To Appear");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Failure To Appear");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Failure To Appear");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Failure To Appear");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Failure To Appear");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Failure To Appear");
- }
- *ptr_fine = *ptr_fine + 500;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 17:
- //Level 3 Illegal Weapon
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Level 3 Illegal Weapon");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Level 3 Illegal Weapon");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Level 3 Illegal Weapon");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Level 3 Illegal Weapon");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Level 3 Illegal Weapon");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Level 3 Illegal Weapon");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Level 3 Illegal Weapon");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Level 3 Illegal Weapon");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Level 3 Illegal Weapon");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Level 3 Illegal Weapon");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Level 3 Illegal Weapon");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Level 3 Illegal Weapon");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Level 3 Illegal Weapon");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Level 3 Illegal Weapon");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Level 3 Illegal Weapon");
- }
- *ptr_fine = *ptr_fine + 1000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 18:
- //Unarmed GTA
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Unarmed GTA");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Unarmed GTA");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Unarmed GTA");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Unarmed GTA");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Unarmed GTA");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Unarmed GTA");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Unarmed GTA");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Unarmed GTA");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Unarmed GTA");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Unarmed GTA");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Unarmed GTA");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Unarmed GTA");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Unarmed GTA");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Unarmed GTA");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Unarmed GTA");
- }
- *ptr_fine = *ptr_fine + 5000;
- *ptr_jailTime = *ptr_jailTime + 5;
- break;
- case 19:
- //Armed GTA
- if (strcmp(chargeA, " ") == 0)
- {
- strcpy(chargeA, "Armed GTA");
- }
- else if (strcmp(chargeB, " ") == 0)
- {
- strcpy(chargeB, ", Armed GTA");
- }
- else if (strcmp(chargeC, " ") == 0)
- {
- strcpy(chargeC, ", Armed GTA");
- }
- else if (strcmp(chargeD, " ") == 0)
- {
- strcpy(chargeD, ", Armed GTA");
- }
- else if (strcmp(chargeE, " ") == 0)
- {
- strcpy(chargeE, ", Armed GTA");
- }
- else if (strcmp(chargeF, " ") == 0)
- {
- strcpy(chargeF, ", Armed GTA");
- }
- else if (strcmp(chargeG, " ") == 0)
- {
- strcpy(chargeG, ", Armed GTA");
- }
- else if (strcmp(chargeH, " ") == 0)
- {
- strcpy(chargeH, ", Armed GTA");
- }
- else if (strcmp(chargeI, " ") == 0)
- {
- strcpy(chargeI, ", Armed GTA");
- }
- else if (strcmp(chargeJ, " ") == 0)
- {
- strcpy(chargeJ, ", Armed GTA");
- }
- else if (strcmp(chargeK, " ") == 0)
- {
- strcpy(chargeK, ", Armed GTA");
- }
- else if (strcmp(chargeL, " ") == 0)
- {
- strcpy(chargeL, ", Armed GTA");
- }
- else if (strcmp(chargeM, " ") == 0)
- {
- strcpy(chargeM, ", Armed GTA");
- }
- else if (strcmp(chargeN, " ") == 0)
- {
- strcpy(chargeN, ", Armed GTA");
- }
- else if (strcmp(chargeO, " ") == 0)
- {
- strcpy(chargeO, ", Armed GTA");
- }
- *ptr_fine = *ptr_fine + 10000;
- *ptr_jailTime = *ptr_jailTime + 10;
- break;
- case 0:
- break;
- default:printf("\n\n\n\t\t Choose options 0-19! ");
- break;
- }
- } while (choice);
- }
- void jailCell(int *ptr_jail)
- {
- int choice;
- do
- {
- printf(
- "\n\n\n \t\t --JAIL OPTIONS--"
- "\n 1. Jail Cell 1"
- "\n 2. Jail Cell 2"
- "\n 3. Jail Cell 3"
- "\n 4. Prison"
- "\n 0. BACK"
- "\n\n Select Jail Option: ");
- scanf("%d", &choice);
- switch (choice)
- {
- case 1:
- *ptr_jail = 1;
- break;
- case 2:
- *ptr_jail = 2;
- break;
- case 3:
- *ptr_jail = 3;
- break;
- case 4:
- *ptr_jail = 5;
- break;
- case 0:
- break;
- default:printf("\n Choose options 0-4! ");
- break;
- }
- } while (choice);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement