Advertisement
Guest User

Untitled

a guest
Nov 18th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 113.33 KB | None | 0 0
  1. #define _CRT_SECURE_NO_WARNINGS
  2. #include<stdio.h>
  3. #include<stdlib.h>
  4. #include<string.h>
  5.  
  6. void movingViolations(int *, int *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *);
  7. void misdemeanors(int *, int *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *);
  8. void felonys(int *, int *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *, char *);
  9. void jailCell(int *);
  10.  
  11. int main()
  12. {
  13. char chargeA[50] = " ";
  14. char chargeB[50] = " ";
  15. char chargeC[50] = " ";
  16. char chargeD[50] = " ";
  17. char chargeE[50] = " ";
  18. char chargeF[50] = " ";
  19. char chargeG[50] = " ";
  20. char chargeH[50] = " ";
  21. char chargeI[50] = " ";
  22. char chargeJ[50] = " ";
  23. char chargeK[50] = " ";
  24. char chargeL[50] = " ";
  25. char chargeM[50] = " ";
  26. char chargeN[50] = " ";
  27. char chargeO[50] = " ";
  28.  
  29. int id = 0;
  30. int fine = 0;
  31. int jailTime = 0;
  32. int jail = 5;
  33. printf(" \t\t\t\t-WackPack- Fine and Jail Calculator.\n\n");
  34. printf("\n Enter Suspects ID: ");
  35. scanf("%d",&id);
  36. //rewind(stdin);
  37.  
  38. int choice;
  39. do
  40. {
  41. printf(
  42. "\n\n\n 1. MOVING VIOLATIONS"
  43. "\n 2. MISDEMEANORS"
  44. "\n 3. FELONYS"
  45.  
  46. "\n 4. SELECT JAIL"
  47. "\n--------------------------"
  48. "\n 5. PRINT JAIL/FINE CODE"
  49. "\n--------------------------"
  50. "\n 6. CLEAR CALC"
  51. "\n 0. Exit"
  52. "\n\n Enter Your Selection: ");
  53. scanf("%d", &choice);
  54. switch (choice)
  55. {
  56. case 1:
  57. movingViolations(&fine, &jailTime, chargeA, chargeB, chargeC, chargeD, chargeE, chargeF, chargeG, chargeH, chargeI, chargeJ, chargeK, chargeL, chargeM, chargeN, chargeO);
  58. break;
  59. case 2:
  60. misdemeanors(&fine, &jailTime, chargeA, chargeB, chargeC, chargeD, chargeE, chargeF, chargeG, chargeH, chargeI, chargeJ, chargeK, chargeL, chargeM, chargeN, chargeO);
  61. break;
  62.  
  63. case 3:
  64. felonys(&fine, &jailTime, chargeA, chargeB, chargeC, chargeD, chargeE, chargeF, chargeG, chargeH, chargeI, chargeJ, chargeK, chargeL, chargeM, chargeN, chargeO);
  65. break;
  66.  
  67. case 4:
  68. jailCell(&jail);
  69. break;
  70.  
  71. case 5:
  72. printf("\n\n\n\nFINE COMMAND:");
  73. printf("\n-----------------------------------------------------------------------------");
  74. 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);
  75. printf("-----------------------------------------------------------------------------");
  76. printf("\n\nJAIL COMMAND:");
  77. printf("\n-----------------------------------------------------------------------------");
  78. 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);
  79. printf("-----------------------------------------------------------------------------");
  80. break;
  81. case 6:
  82. printf("\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\nCALC CLEARED!");
  83. printf("\n\nEnter Suspect ID:");
  84. scanf("%d", &id);
  85. fine = 0;
  86. jailTime = 0;
  87. chargeA[50] = strcpy(chargeA, " ");
  88. chargeB[50] = strcpy(chargeB, " ");
  89. chargeC[50] = strcpy(chargeC, " ");
  90. chargeD[50] = strcpy(chargeD, " ");
  91. chargeE[50] = strcpy(chargeE, " ");
  92. chargeF[50] = strcpy(chargeF, " ");
  93. chargeG[50] = strcpy(chargeG, " ");
  94. chargeH[50] = strcpy(chargeH, " ");
  95. chargeI[50] = strcpy(chargeI, " ");
  96. chargeJ[50] = strcpy(chargeJ, " ");
  97. chargeK[50] = strcpy(chargeK, " ");
  98. chargeL[50] = strcpy(chargeL, " ");
  99. chargeM[50] = strcpy(chargeM, " ");
  100. chargeN[50] = strcpy(chargeN, " ");
  101. chargeO[50] = strcpy(chargeO, " ");
  102. break;
  103. case 0:
  104. break;
  105. default:printf("\n Choose options 0-5! ");
  106. break;
  107. }
  108. } while (choice);
  109.  
  110. return(0);
  111.  
  112. }
  113.  
  114.  
  115. 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])
  116. {
  117. int choice;
  118. do
  119. {
  120. printf(
  121. "\n\n\n\t\t --MOVING VIOLATIONS--"
  122. "\n 1. Illegal Parking"
  123. "\n 2. Illegal U-Turn"
  124. "\n 3. Improper Lane Change"
  125. "\n 4. Driving With No Headlights"
  126. "\n 5. Unroadworthy Vehicle"
  127. "\n 6. Broken Head/Tail Light"
  128. "\n 7. Broken Windshield"
  129. "\n 8. Failure To Yield To Emergency Vehicle"
  130. "\n 9. Impeding The Flow of Traffic"
  131. "\n 10. Speeding"
  132. "\n 11. Habitual Speeding"
  133. "\n 12. Running Red Light/Stop Sign"
  134. "\n 13. Habitual Running Red Lights/Stop Signs"
  135. "\n 14. Driving Under The Influence"
  136. "\n 15. Stunt Driving"
  137. "\n 16. Drag Racing"
  138. "\n 17. Street Racing"
  139. "\n 18. Driving Without A License"
  140. "\n 19. Driving The Wrong Way"
  141. "\n 20. Hit And Run"
  142. "\n 21. Careless Driving"
  143. "\n 22. Reckless Driving"
  144. "\n 0. GO BACK"
  145. "\n\n Enter Your Selection: ");
  146. scanf("%d", &choice);
  147. switch (choice)
  148. {
  149. case 1:
  150. //Illegal Parking
  151. if (strcmp(chargeA, " ") == 0)
  152. {
  153. strcpy(chargeA, "Illegal Parking");
  154. }
  155. else if (strcmp(chargeB, " ") == 0)
  156. {
  157. strcpy(chargeB, ", Illegal Parking");
  158. }
  159. else if (strcmp(chargeC, " ") == 0)
  160. {
  161. strcpy(chargeC, ", Illegal Parking");
  162. }
  163. else if (strcmp(chargeD, " ") == 0)
  164. {
  165. strcpy(chargeD, ", Illegal Parking");
  166. }
  167. else if (strcmp(chargeE, " ") == 0)
  168. {
  169. strcpy(chargeE, ", Illegal Parking");
  170. }
  171. else if (strcmp(chargeF, " ") == 0)
  172. {
  173. strcpy(chargeF, ", Illegal Parking");
  174. }
  175. else if (strcmp(chargeG, " ") == 0)
  176. {
  177. strcpy(chargeG, ", Illegal Parking");
  178. }
  179. else if (strcmp(chargeH, " ") == 0)
  180. {
  181. strcpy(chargeH, ", Illegal Parking");
  182. }
  183. else if (strcmp(chargeI, " ") == 0)
  184. {
  185. strcpy(chargeI, ", Illegal Parking");
  186. }
  187. else if (strcmp(chargeJ, " ") == 0)
  188. {
  189. strcpy(chargeJ, ", Illegal Parking");
  190. }
  191. else if (strcmp(chargeK, " ") == 0)
  192. {
  193. strcpy(chargeK, ", Illegal Parking");
  194. }
  195. else if (strcmp(chargeL, " ") == 0)
  196. {
  197. strcpy(chargeL, ", Illegal Parking");
  198. }
  199. else if (strcmp(chargeM, " ") == 0)
  200. {
  201. strcpy(chargeM, ", Illegal Parking");
  202. }
  203. else if (strcmp(chargeN, " ") == 0)
  204. {
  205. strcpy(chargeN, ", Illegal Parking");
  206. }
  207. else if (strcmp(chargeO, " ") == 0)
  208. {
  209. strcpy(chargeO, ", Illegal Parking");
  210. }
  211. *ptr_fine = *ptr_fine + 500;
  212. break;
  213. case 2:
  214. //Illegal U-Turn
  215. if (strcmp(chargeA, " ") == 0)
  216. {
  217. strcpy(chargeA, "Illegal U-Turn");
  218. }
  219. else if (strcmp(chargeB, " ") == 0)
  220. {
  221. strcpy(chargeB, ", Illegal U-Turn");
  222. }
  223. else if (strcmp(chargeC, " ") == 0)
  224. {
  225. strcpy(chargeC, ", Illegal Parking");
  226. }
  227. else if (strcmp(chargeD, " ") == 0)
  228. {
  229. strcpy(chargeD, ", Illegal Parking");
  230. }
  231. else if (strcmp(chargeE, " ") == 0)
  232. {
  233. strcpy(chargeE, ", Illegal Parking");
  234. }
  235. else if (strcmp(chargeF, " ") == 0)
  236. {
  237. strcpy(chargeF, ", Illegal Parking");
  238. }
  239. else if (strcmp(chargeG, " ") == 0)
  240. {
  241. strcpy(chargeG, ", Illegal Parking");
  242. }
  243. else if (strcmp(chargeH, " ") == 0)
  244. {
  245. strcpy(chargeH, ", Illegal Parking");
  246. }
  247. else if (strcmp(chargeI, " ") == 0)
  248. {
  249. strcpy(chargeI, ", Illegal Parking");
  250. }
  251. else if (strcmp(chargeJ, " ") == 0)
  252. {
  253. strcpy(chargeJ, ", Illegal Parking");
  254. }
  255. else if (strcmp(chargeK, " ") == 0)
  256. {
  257. strcpy(chargeK, ", Illegal Parking");
  258. }
  259. else if (strcmp(chargeL, " ") == 0)
  260. {
  261. strcpy(chargeL, ", Illegal Parking");
  262. }
  263. else if (strcmp(chargeM, " ") == 0)
  264. {
  265. strcpy(chargeM, ", Illegal Parking");
  266. }
  267. else if (strcmp(chargeN, " ") == 0)
  268. {
  269. strcpy(chargeN, ", Illegal Parking");
  270. }
  271. else if (strcmp(chargeO, " ") == 0)
  272. {
  273. strcpy(chargeO, ", Illegal Parking");
  274. }
  275. *ptr_fine = *ptr_fine + 500;
  276. break;
  277.  
  278. case 3:
  279. //Improper Lane Change
  280. if (strcmp(chargeA, " ") == 0)
  281. {
  282. strcpy(chargeA, "Improper Lane Change");
  283. }
  284. else if (strcmp(chargeB, " ") == 0)
  285. {
  286. strcpy(chargeB, ", Improper Lane Change");
  287. }
  288. else if (strcmp(chargeC, " ") == 0)
  289. {
  290. strcpy(chargeC, ", Improper Lane Change");
  291. }
  292. else if (strcmp(chargeD, " ") == 0)
  293. {
  294. strcpy(chargeD, ", Improper Lane Change");
  295. }
  296. else if (strcmp(chargeE, " ") == 0)
  297. {
  298. strcpy(chargeE, ", Improper Lane Change");
  299. }
  300. else if (strcmp(chargeF, " ") == 0)
  301. {
  302. strcpy(chargeF, ", Improper Lane Change");
  303. }
  304. else if (strcmp(chargeG, " ") == 0)
  305. {
  306. strcpy(chargeG, ", Improper Lane Change");
  307. }
  308. else if (strcmp(chargeH, " ") == 0)
  309. {
  310. strcpy(chargeH, ", Improper Lane Change");
  311. }
  312. else if (strcmp(chargeI, " ") == 0)
  313. {
  314. strcpy(chargeI, ", Improper Lane Change");
  315. }
  316. else if (strcmp(chargeJ, " ") == 0)
  317. {
  318. strcpy(chargeJ, ", Improper Lane Change");
  319. }
  320. else if (strcmp(chargeK, " ") == 0)
  321. {
  322. strcpy(chargeK, ", Improper Lane Change");
  323. }
  324. else if (strcmp(chargeL, " ") == 0)
  325. {
  326. strcpy(chargeL, ", Improper Lane Change");
  327. }
  328. else if (strcmp(chargeM, " ") == 0)
  329. {
  330. strcpy(chargeM, ", Improper Lane Change");
  331. }
  332. else if (strcmp(chargeN, " ") == 0)
  333. {
  334. strcpy(chargeN, ", Improper Lane Change");
  335. }
  336. else if (strcmp(chargeO, " ") == 0)
  337. {
  338. strcpy(chargeO, ", Improper Lane Change");
  339. }
  340. *ptr_fine = *ptr_fine + 500;
  341. break;
  342.  
  343. case 4:
  344. //Driving With No Headlights
  345. if (strcmp(chargeA, " ") == 0)
  346. {
  347. strcpy(chargeA, "Driving With No Headlights");
  348. }
  349. else if (strcmp(chargeB, " ") == 0)
  350. {
  351. strcpy(chargeB, ", Driving With No Headlights");
  352. }
  353. else if (strcmp(chargeC, " ") == 0)
  354. {
  355. strcpy(chargeC, ", Driving With No Headlights");
  356. }
  357. else if (strcmp(chargeD, " ") == 0)
  358. {
  359. strcpy(chargeD, ", Driving With No Headlights");
  360. }
  361. else if (strcmp(chargeE, " ") == 0)
  362. {
  363. strcpy(chargeE, ", Driving With No Headlights");
  364. }
  365. else if (strcmp(chargeF, " ") == 0)
  366. {
  367. strcpy(chargeF, ", Driving With No Headlights");
  368. }
  369. else if (strcmp(chargeG, " ") == 0)
  370. {
  371. strcpy(chargeG, ", Driving With No Headlights");
  372. }
  373. else if (strcmp(chargeH, " ") == 0)
  374. {
  375. strcpy(chargeH, ", Driving With No Headlights");
  376. }
  377. else if (strcmp(chargeI, " ") == 0)
  378. {
  379. strcpy(chargeI, ", Driving With No Headlights");
  380. }
  381. else if (strcmp(chargeJ, " ") == 0)
  382. {
  383. strcpy(chargeJ, ", Driving With No Headlights");
  384. }
  385. else if (strcmp(chargeK, " ") == 0)
  386. {
  387. strcpy(chargeK, ", Driving With No Headlights");
  388. }
  389. else if (strcmp(chargeL, " ") == 0)
  390. {
  391. strcpy(chargeL, ", Driving With No Headlights");
  392. }
  393. else if (strcmp(chargeM, " ") == 0)
  394. {
  395. strcpy(chargeM, ", Driving With No Headlights");
  396. }
  397. else if (strcmp(chargeN, " ") == 0)
  398. {
  399. strcpy(chargeN, ", Driving With No Headlights");
  400. }
  401. else if (strcmp(chargeO, " ") == 0)
  402. {
  403. strcpy(chargeO, ", Driving With No Headlights");
  404. }
  405. *ptr_fine = *ptr_fine + 500;
  406. break;
  407.  
  408. case 5:
  409. //Unroadworthy Vehicle
  410. if (strcmp(chargeA, " ") == 0)
  411. {
  412. strcpy(chargeA, "Unroadworthy Vehicle");
  413. }
  414. else if (strcmp(chargeB, " ") == 0)
  415. {
  416. strcpy(chargeB, ", Unroadworthy Vehicle");
  417. }
  418. else if (strcmp(chargeC, " ") == 0)
  419. {
  420. strcpy(chargeC, ", Unroadworthy Vehicle");
  421. }
  422. else if (strcmp(chargeD, " ") == 0)
  423. {
  424. strcpy(chargeD, ", Unroadworthy Vehicle");
  425. }
  426. else if (strcmp(chargeE, " ") == 0)
  427. {
  428. strcpy(chargeE, ", Unroadworthy Vehicle");
  429. }
  430. else if (strcmp(chargeF, " ") == 0)
  431. {
  432. strcpy(chargeF, ", Unroadworthy Vehicle");
  433. }
  434. else if (strcmp(chargeG, " ") == 0)
  435. {
  436. strcpy(chargeG, ", Unroadworthy Vehicle");
  437. }
  438. else if (strcmp(chargeH, " ") == 0)
  439. {
  440. strcpy(chargeH, ", Unroadworthy Vehicle");
  441. }
  442. else if (strcmp(chargeI, " ") == 0)
  443. {
  444. strcpy(chargeI, ", Unroadworthy Vehicle");
  445. }
  446. else if (strcmp(chargeJ, " ") == 0)
  447. {
  448. strcpy(chargeJ, ", Unroadworthy Vehicle");
  449. }
  450. else if (strcmp(chargeK, " ") == 0)
  451. {
  452. strcpy(chargeK, ", Unroadworthy Vehicle");
  453. }
  454. else if (strcmp(chargeL, " ") == 0)
  455. {
  456. strcpy(chargeL, ", Unroadworthy Vehicle");
  457. }
  458. else if (strcmp(chargeM, " ") == 0)
  459. {
  460. strcpy(chargeM, ", Unroadworthy Vehicle");
  461. }
  462. else if (strcmp(chargeN, " ") == 0)
  463. {
  464. strcpy(chargeN, ", Unroadworthy Vehicle");
  465. }
  466. else if (strcmp(chargeO, " ") == 0)
  467. {
  468. strcpy(chargeO, ", Unroadworthy Vehicle");
  469. }
  470. *ptr_fine = *ptr_fine + 1500;
  471. break;
  472.  
  473. case 6:
  474. //Broken Head / Tail Light
  475. if (strcmp(chargeA, " ") == 0)
  476. {
  477. strcpy(chargeA, "Broken Head / Tail Light");
  478. }
  479. else if (strcmp(chargeB, " ") == 0)
  480. {
  481. strcpy(chargeB, ", Broken Head / Tail Light");
  482. }
  483. else if (strcmp(chargeC, " ") == 0)
  484. {
  485. strcpy(chargeC, ", Broken Head / Tail Light");
  486. }
  487. else if (strcmp(chargeD, " ") == 0)
  488. {
  489. strcpy(chargeD, ", Broken Head / Tail Light");
  490. }
  491. else if (strcmp(chargeE, " ") == 0)
  492. {
  493. strcpy(chargeE, ", Broken Head / Tail Light");
  494. }
  495. else if (strcmp(chargeF, " ") == 0)
  496. {
  497. strcpy(chargeF, ", Broken Head / Tail Light");
  498. }
  499. else if (strcmp(chargeG, " ") == 0)
  500. {
  501. strcpy(chargeG, ", Broken Head / Tail Light");
  502. }
  503. else if (strcmp(chargeH, " ") == 0)
  504. {
  505. strcpy(chargeH, ", Broken Head / Tail Light");
  506. }
  507. else if (strcmp(chargeI, " ") == 0)
  508. {
  509. strcpy(chargeI, ", Broken Head / Tail Light");
  510. }
  511. else if (strcmp(chargeJ, " ") == 0)
  512. {
  513. strcpy(chargeJ, ", Broken Head / Tail Light");
  514. }
  515. else if (strcmp(chargeK, " ") == 0)
  516. {
  517. strcpy(chargeK, ", Broken Head / Tail Light");
  518. }
  519. else if (strcmp(chargeL, " ") == 0)
  520. {
  521. strcpy(chargeL, ", Broken Head / Tail Light");
  522. }
  523. else if (strcmp(chargeM, " ") == 0)
  524. {
  525. strcpy(chargeM, ", Broken Head / Tail Light");
  526. }
  527. else if (strcmp(chargeN, " ") == 0)
  528. {
  529. strcpy(chargeN, ", Broken Head / Tail Light");
  530. }
  531. else if (strcmp(chargeO, " ") == 0)
  532. {
  533. strcpy(chargeO, ", Broken Head / Tail Light");
  534. }
  535. *ptr_fine = *ptr_fine + 500;
  536. break;
  537.  
  538. case 7:
  539. //Broken Windshield
  540. if (strcmp(chargeA, " ") == 0)
  541. {
  542. strcpy(chargeA, "Broken Windshield");
  543. }
  544. else if (strcmp(chargeB, " ") == 0)
  545. {
  546. strcpy(chargeB, ", Broken Windshield");
  547. }
  548. else if (strcmp(chargeC, " ") == 0)
  549. {
  550. strcpy(chargeC, ", Broken Windshield");
  551. }
  552. else if (strcmp(chargeD, " ") == 0)
  553. {
  554. strcpy(chargeD, ", Broken Windshield");
  555. }
  556. else if (strcmp(chargeE, " ") == 0)
  557. {
  558. strcpy(chargeE, ", Broken Windshield");
  559. }
  560. else if (strcmp(chargeF, " ") == 0)
  561. {
  562. strcpy(chargeF, ", Broken Windshield");
  563. }
  564. else if (strcmp(chargeG, " ") == 0)
  565. {
  566. strcpy(chargeG, ", Broken Windshield");
  567. }
  568. else if (strcmp(chargeH, " ") == 0)
  569. {
  570. strcpy(chargeH, ", Broken Windshield");
  571. }
  572. else if (strcmp(chargeI, " ") == 0)
  573. {
  574. strcpy(chargeI, ", Broken Windshield");
  575. }
  576. else if (strcmp(chargeJ, " ") == 0)
  577. {
  578. strcpy(chargeJ, ", Broken Windshield");
  579. }
  580. else if (strcmp(chargeK, " ") == 0)
  581. {
  582. strcpy(chargeK, ", Broken Windshield");
  583. }
  584. else if (strcmp(chargeL, " ") == 0)
  585. {
  586. strcpy(chargeL, ", Broken Windshield");
  587. }
  588. else if (strcmp(chargeM, " ") == 0)
  589. {
  590. strcpy(chargeM, ", Broken Windshield");
  591. }
  592. else if (strcmp(chargeN, " ") == 0)
  593. {
  594. strcpy(chargeN, ", Broken Windshield");
  595. }
  596. else if (strcmp(chargeO, " ") == 0)
  597. {
  598. strcpy(chargeO, ", Broken Windshield");
  599. }
  600. *ptr_fine = *ptr_fine + 500;
  601. break;
  602.  
  603. case 8:
  604. //Failure To Yield To Emergency Vehicle
  605. if (strcmp(chargeA, " ") == 0)
  606. {
  607. strcpy(chargeA, "Failure To Yield To Emergency Vehicle");
  608. }
  609. else if (strcmp(chargeB, " ") == 0)
  610. {
  611. strcpy(chargeB, ", Failure To Yield To Emergency Vehicle");
  612. }
  613. else if (strcmp(chargeC, " ") == 0)
  614. {
  615. strcpy(chargeC, ", Failure To Yield To Emergency Vehicle");
  616. }
  617. else if (strcmp(chargeD, " ") == 0)
  618. {
  619. strcpy(chargeD, ", Failure To Yield To Emergency Vehicle");
  620. }
  621. else if (strcmp(chargeE, " ") == 0)
  622. {
  623. strcpy(chargeE, ", Failure To Yield To Emergency Vehicle");
  624. }
  625. else if (strcmp(chargeF, " ") == 0)
  626. {
  627. strcpy(chargeF, ", Failure To Yield To Emergency Vehicle");
  628. }
  629. else if (strcmp(chargeG, " ") == 0)
  630. {
  631. strcpy(chargeG, ", Failure To Yield To Emergency Vehicle");
  632. }
  633. else if (strcmp(chargeH, " ") == 0)
  634. {
  635. strcpy(chargeH, ", Failure To Yield To Emergency Vehicle");
  636. }
  637. else if (strcmp(chargeI, " ") == 0)
  638. {
  639. strcpy(chargeI, ", Failure To Yield To Emergency Vehicle");
  640. }
  641. else if (strcmp(chargeJ, " ") == 0)
  642. {
  643. strcpy(chargeJ, ", Failure To Yield To Emergency Vehicle");
  644. }
  645. else if (strcmp(chargeK, " ") == 0)
  646. {
  647. strcpy(chargeK, ", Failure To Yield To Emergency Vehicle");
  648. }
  649. else if (strcmp(chargeL, " ") == 0)
  650. {
  651. strcpy(chargeL, ", Failure To Yield To Emergency Vehicle");
  652. }
  653. else if (strcmp(chargeM, " ") == 0)
  654. {
  655. strcpy(chargeM, ", Failure To Yield To Emergency Vehicle");
  656. }
  657. else if (strcmp(chargeN, " ") == 0)
  658. {
  659. strcpy(chargeN, ", Failure To Yield To Emergency Vehicle");
  660. }
  661. else if (strcmp(chargeO, " ") == 0)
  662. {
  663. strcpy(chargeO, ", Failure To Yield To Emergency Vehicle");
  664. }
  665. *ptr_fine = *ptr_fine + 500;
  666. break;
  667.  
  668. case 9:
  669. //Impeding The Flow of Traffic
  670. if (strcmp(chargeA, " ") == 0)
  671. {
  672. strcpy(chargeA, "Impeding The Flow of Traffic");
  673. }
  674. else if (strcmp(chargeB, " ") == 0)
  675. {
  676. strcpy(chargeB, ", Impeding The Flow of Traffic");
  677. }
  678. else if (strcmp(chargeC, " ") == 0)
  679. {
  680. strcpy(chargeC, ", Impeding The Flow of Traffic");
  681. }
  682. else if (strcmp(chargeD, " ") == 0)
  683. {
  684. strcpy(chargeD, ", Impeding The Flow of Traffic");
  685. }
  686. else if (strcmp(chargeE, " ") == 0)
  687. {
  688. strcpy(chargeE, ", Impeding The Flow of Traffic");
  689. }
  690. else if (strcmp(chargeF, " ") == 0)
  691. {
  692. strcpy(chargeF, ", Impeding The Flow of Traffic");
  693. }
  694. else if (strcmp(chargeG, " ") == 0)
  695. {
  696. strcpy(chargeG, ", Impeding The Flow of Traffic");
  697. }
  698. else if (strcmp(chargeH, " ") == 0)
  699. {
  700. strcpy(chargeH, ", Impeding The Flow of Traffic");
  701. }
  702. else if (strcmp(chargeI, " ") == 0)
  703. {
  704. strcpy(chargeI, ", Impeding The Flow of Traffic");
  705. }
  706. else if (strcmp(chargeJ, " ") == 0)
  707. {
  708. strcpy(chargeJ, ", Impeding The Flow of Traffic");
  709. }
  710. else if (strcmp(chargeK, " ") == 0)
  711. {
  712. strcpy(chargeK, ", Impeding The Flow of Traffic");
  713. }
  714. else if (strcmp(chargeL, " ") == 0)
  715. {
  716. strcpy(chargeL, ", Impeding The Flow of Traffic");
  717. }
  718. else if (strcmp(chargeM, " ") == 0)
  719. {
  720. strcpy(chargeM, ", Impeding The Flow of Traffic");
  721. }
  722. else if (strcmp(chargeN, " ") == 0)
  723. {
  724. strcpy(chargeN, ", Impeding The Flow of Traffic");
  725. }
  726. else if (strcmp(chargeO, " ") == 0)
  727. {
  728. strcpy(chargeO, ", Impeding The Flow of Traffic");
  729. }
  730. *ptr_fine = *ptr_fine + 500;
  731. break;
  732.  
  733. case 10:
  734. //Speeding
  735. if (strcmp(chargeA, " ") == 0)
  736. {
  737. strcpy(chargeA, "Speeding");
  738. }
  739. else if (strcmp(chargeB, " ") == 0)
  740. {
  741. strcpy(chargeB, ", Speeding");
  742. }
  743. else if (strcmp(chargeC, " ") == 0)
  744. {
  745. strcpy(chargeC, ", Speeding");
  746. }
  747. else if (strcmp(chargeD, " ") == 0)
  748. {
  749. strcpy(chargeD, ", Speeding");
  750. }
  751. else if (strcmp(chargeE, " ") == 0)
  752. {
  753. strcpy(chargeE, ", Speeding");
  754. }
  755. else if (strcmp(chargeF, " ") == 0)
  756. {
  757. strcpy(chargeF, ", Speeding");
  758. }
  759. else if (strcmp(chargeG, " ") == 0)
  760. {
  761. strcpy(chargeG, ", Speeding");
  762. }
  763. else if (strcmp(chargeH, " ") == 0)
  764. {
  765. strcpy(chargeH, ", Speeding");
  766. }
  767. else if (strcmp(chargeI, " ") == 0)
  768. {
  769. strcpy(chargeI, ", Speeding");
  770. }
  771. else if (strcmp(chargeJ, " ") == 0)
  772. {
  773. strcpy(chargeJ, ", Speeding");
  774. }
  775. else if (strcmp(chargeK, " ") == 0)
  776. {
  777. strcpy(chargeK, ", Speeding");
  778. }
  779. else if (strcmp(chargeL, " ") == 0)
  780. {
  781. strcpy(chargeL, ", Speeding");
  782. }
  783. else if (strcmp(chargeM, " ") == 0)
  784. {
  785. strcpy(chargeM, ", Speeding");
  786. }
  787. else if (strcmp(chargeN, " ") == 0)
  788. {
  789. strcpy(chargeN, ", Speeding");
  790. }
  791. else if (strcmp(chargeO, " ") == 0)
  792. {
  793. strcpy(chargeO, ", Speeding");
  794. }
  795. *ptr_fine = *ptr_fine + 1000;
  796. break;
  797.  
  798. case 11:
  799. //Habitual Speeding
  800. if (strcmp(chargeA, " ") == 0)
  801. {
  802. strcpy(chargeA, "Habitual Speeding");
  803. }
  804. else if (strcmp(chargeB, " ") == 0)
  805. {
  806. strcpy(chargeB, ", Habitual Speeding");
  807. }
  808. else if (strcmp(chargeC, " ") == 0)
  809. {
  810. strcpy(chargeC, ", Habitual Speeding");
  811. }
  812. else if (strcmp(chargeD, " ") == 0)
  813. {
  814. strcpy(chargeD, ", Habitual Speeding");
  815. }
  816. else if (strcmp(chargeE, " ") == 0)
  817. {
  818. strcpy(chargeE, ", Habitual Speeding");
  819. }
  820. else if (strcmp(chargeF, " ") == 0)
  821. {
  822. strcpy(chargeF, ", Habitual Speeding");
  823. }
  824. else if (strcmp(chargeG, " ") == 0)
  825. {
  826. strcpy(chargeG, ", Habitual Speeding");
  827. }
  828. else if (strcmp(chargeH, " ") == 0)
  829. {
  830. strcpy(chargeH, ", Habitual Speeding");
  831. }
  832. else if (strcmp(chargeI, " ") == 0)
  833. {
  834. strcpy(chargeI, ", Habitual Speeding");
  835. }
  836. else if (strcmp(chargeJ, " ") == 0)
  837. {
  838. strcpy(chargeJ, ", Habitual Speeding");
  839. }
  840. else if (strcmp(chargeK, " ") == 0)
  841. {
  842. strcpy(chargeK, ", Habitual Speeding");
  843. }
  844. else if (strcmp(chargeL, " ") == 0)
  845. {
  846. strcpy(chargeL, ", Habitual Speeding");
  847. }
  848. else if (strcmp(chargeM, " ") == 0)
  849. {
  850. strcpy(chargeM, ", Habitual Speeding");
  851. }
  852. else if (strcmp(chargeN, " ") == 0)
  853. {
  854. strcpy(chargeN, ", Habitual Speeding");
  855. }
  856. else if (strcmp(chargeO, " ") == 0)
  857. {
  858. strcpy(chargeO, ", Habitual Speeding");
  859. }
  860. *ptr_fine = *ptr_fine + 5000;
  861. *ptr_jailTime = *ptr_jailTime + 20;
  862. break;
  863.  
  864. case 12:
  865. //Running Red Light/Stop Sign
  866. if (strcmp(chargeA, " ") == 0)
  867. {
  868. strcpy(chargeA, "Running Red Light/Stop Sign");
  869. }
  870. else if (strcmp(chargeB, " ") == 0)
  871. {
  872. strcpy(chargeB, ", Running Red Light/Stop Sign");
  873. }
  874. else if (strcmp(chargeC, " ") == 0)
  875. {
  876. strcpy(chargeC, ", Running Red Light/Stop Sign");
  877. }
  878. else if (strcmp(chargeD, " ") == 0)
  879. {
  880. strcpy(chargeD, ", Running Red Light/Stop Sign");
  881. }
  882. else if (strcmp(chargeE, " ") == 0)
  883. {
  884. strcpy(chargeE, ", Running Red Light/Stop Sign");
  885. }
  886. else if (strcmp(chargeF, " ") == 0)
  887. {
  888. strcpy(chargeF, ", Running Red Light/Stop Sign");
  889. }
  890. else if (strcmp(chargeG, " ") == 0)
  891. {
  892. strcpy(chargeG, ", Running Red Light/Stop Sign");
  893. }
  894. else if (strcmp(chargeH, " ") == 0)
  895. {
  896. strcpy(chargeH, ", Running Red Light/Stop Sign");
  897. }
  898. else if (strcmp(chargeI, " ") == 0)
  899. {
  900. strcpy(chargeI, ", Running Red Light/Stop Sign");
  901. }
  902. else if (strcmp(chargeJ, " ") == 0)
  903. {
  904. strcpy(chargeJ, ", Running Red Light/Stop Sign");
  905. }
  906. else if (strcmp(chargeK, " ") == 0)
  907. {
  908. strcpy(chargeK, ", Running Red Light/Stop Sign");
  909. }
  910. else if (strcmp(chargeL, " ") == 0)
  911. {
  912. strcpy(chargeL, ", Running Red Light/Stop Sign");
  913. }
  914. else if (strcmp(chargeM, " ") == 0)
  915. {
  916. strcpy(chargeM, ", Running Red Light/Stop Sign");
  917. }
  918. else if (strcmp(chargeN, " ") == 0)
  919. {
  920. strcpy(chargeN, ", Running Red Light/Stop Sign");
  921. }
  922. else if (strcmp(chargeO, " ") == 0)
  923. {
  924. strcpy(chargeO, ", Running Red Light/Stop Sign");
  925. }
  926. *ptr_fine = *ptr_fine + 1000;
  927. break;
  928.  
  929. case 13:
  930. //Habitual Running Red Lights/Stop Signs
  931. if (strcmp(chargeA, " ") == 0)
  932. {
  933. strcpy(chargeA, "Habitual Running Red Light/Stop Sign");
  934. }
  935. else if (strcmp(chargeB, " ") == 0)
  936. {
  937. strcpy(chargeB, ", Habitual Running Red Light/Stop Sign");
  938. }
  939. else if (strcmp(chargeC, " ") == 0)
  940. {
  941. strcpy(chargeC, ", Habitual Running Red Light/Stop Sign");
  942. }
  943. else if (strcmp(chargeD, " ") == 0)
  944. {
  945. strcpy(chargeD, ", Habitual Running Red Light/Stop Sign");
  946. }
  947. else if (strcmp(chargeE, " ") == 0)
  948. {
  949. strcpy(chargeE, ", Habitual Running Red Light/Stop Sign");
  950. }
  951. else if (strcmp(chargeF, " ") == 0)
  952. {
  953. strcpy(chargeF, ", Habitual Running Red Light/Stop Sign");
  954. }
  955. else if (strcmp(chargeG, " ") == 0)
  956. {
  957. strcpy(chargeG, ", Habitual Running Red Light/Stop Sign");
  958. }
  959. else if (strcmp(chargeH, " ") == 0)
  960. {
  961. strcpy(chargeH, ", Habitual Running Red Light/Stop Sign");
  962. }
  963. else if (strcmp(chargeI, " ") == 0)
  964. {
  965. strcpy(chargeI, ", Habitual Running Red Light/Stop Sign");
  966. }
  967. else if (strcmp(chargeJ, " ") == 0)
  968. {
  969. strcpy(chargeJ, ", Habitual Running Red Light/Stop Sign");
  970. }
  971. else if (strcmp(chargeK, " ") == 0)
  972. {
  973. strcpy(chargeK, ", Habitual Running Red Light/Stop Sign");
  974. }
  975. else if (strcmp(chargeL, " ") == 0)
  976. {
  977. strcpy(chargeL, ", Habitual Running Red Light/Stop Sign");
  978. }
  979. else if (strcmp(chargeM, " ") == 0)
  980. {
  981. strcpy(chargeM, ", Habitual Running Red Light/Stop Sign");
  982. }
  983. else if (strcmp(chargeN, " ") == 0)
  984. {
  985. strcpy(chargeN, ", Habitual Running Red Light/Stop Sign");
  986. }
  987. else if (strcmp(chargeO, " ") == 0)
  988. {
  989. strcpy(chargeO, ", Habitual Running Red Light/Stop Sign");
  990. }
  991. *ptr_fine = *ptr_fine + 5000;
  992. *ptr_jailTime = *ptr_jailTime + 20;
  993. break;
  994.  
  995. case 14:
  996. //Driving Under The Influence
  997. if (strcmp(chargeA, " ") == 0)
  998. {
  999. strcpy(chargeA, "Driving Under The Influence");
  1000. }
  1001. else if (strcmp(chargeB, " ") == 0)
  1002. {
  1003. strcpy(chargeB, ", Driving Under The Influence");
  1004. }
  1005. else if (strcmp(chargeC, " ") == 0)
  1006. {
  1007. strcpy(chargeC, ", Driving Under The Influence");
  1008. }
  1009. else if (strcmp(chargeD, " ") == 0)
  1010. {
  1011. strcpy(chargeD, ", Driving Under The Influence");
  1012. }
  1013. else if (strcmp(chargeE, " ") == 0)
  1014. {
  1015. strcpy(chargeE, ", Driving Under The Influence");
  1016. }
  1017. else if (strcmp(chargeF, " ") == 0)
  1018. {
  1019. strcpy(chargeF, ", Driving Under The Influence");
  1020. }
  1021. else if (strcmp(chargeG, " ") == 0)
  1022. {
  1023. strcpy(chargeG, ", Driving Under The Influence");
  1024. }
  1025. else if (strcmp(chargeH, " ") == 0)
  1026. {
  1027. strcpy(chargeH, ", Driving Under The Influence");
  1028. }
  1029. else if (strcmp(chargeI, " ") == 0)
  1030. {
  1031. strcpy(chargeI, ", Driving Under The Influence");
  1032. }
  1033. else if (strcmp(chargeJ, " ") == 0)
  1034. {
  1035. strcpy(chargeJ, ", Driving Under The Influence");
  1036. }
  1037. else if (strcmp(chargeK, " ") == 0)
  1038. {
  1039. strcpy(chargeK, ", Driving Under The Influence");
  1040. }
  1041. else if (strcmp(chargeL, " ") == 0)
  1042. {
  1043. strcpy(chargeL, ", Driving Under The Influence");
  1044. }
  1045. else if (strcmp(chargeM, " ") == 0)
  1046. {
  1047. strcpy(chargeM, ", Driving Under The Influence");
  1048. }
  1049. else if (strcmp(chargeN, " ") == 0)
  1050. {
  1051. strcpy(chargeN, ", Driving Under The Influence");
  1052. }
  1053. else if (strcmp(chargeO, " ") == 0)
  1054. {
  1055. strcpy(chargeO, ", Driving Under The Influence");
  1056. }
  1057. *ptr_fine = *ptr_fine + 3000;
  1058. *ptr_jailTime = *ptr_jailTime + 10;
  1059. break;
  1060.  
  1061. case 15:
  1062. //Stunt Driving
  1063. if (strcmp(chargeA, " ") == 0)
  1064. {
  1065. strcpy(chargeA, "Stunt Driving");
  1066. }
  1067. else if (strcmp(chargeB, " ") == 0)
  1068. {
  1069. strcpy(chargeB, ", Stunt Driving");
  1070. }
  1071. else if (strcmp(chargeC, " ") == 0)
  1072. {
  1073. strcpy(chargeC, ", Stunt Driving");
  1074. }
  1075. else if (strcmp(chargeD, " ") == 0)
  1076. {
  1077. strcpy(chargeD, ", Stunt Driving");
  1078. }
  1079. else if (strcmp(chargeE, " ") == 0)
  1080. {
  1081. strcpy(chargeE, ", Stunt Driving");
  1082. }
  1083. else if (strcmp(chargeF, " ") == 0)
  1084. {
  1085. strcpy(chargeF, ", Stunt Driving");
  1086. }
  1087. else if (strcmp(chargeG, " ") == 0)
  1088. {
  1089. strcpy(chargeG, ", Stunt Driving");
  1090. }
  1091. else if (strcmp(chargeH, " ") == 0)
  1092. {
  1093. strcpy(chargeH, ", Stunt Driving");
  1094. }
  1095. else if (strcmp(chargeI, " ") == 0)
  1096. {
  1097. strcpy(chargeI, ", Stunt Driving");
  1098. }
  1099. else if (strcmp(chargeJ, " ") == 0)
  1100. {
  1101. strcpy(chargeJ, ", Stunt Driving");
  1102. }
  1103. else if (strcmp(chargeK, " ") == 0)
  1104. {
  1105. strcpy(chargeK, ", Stunt Driving");
  1106. }
  1107. else if (strcmp(chargeL, " ") == 0)
  1108. {
  1109. strcpy(chargeL, ", Stunt Driving");
  1110. }
  1111. else if (strcmp(chargeM, " ") == 0)
  1112. {
  1113. strcpy(chargeM, ", Stunt Driving");
  1114. }
  1115. else if (strcmp(chargeN, " ") == 0)
  1116. {
  1117. strcpy(chargeN, ", Stunt Driving");
  1118. }
  1119. else if (strcmp(chargeO, " ") == 0)
  1120. {
  1121. strcpy(chargeO, ", Stunt Driving");
  1122. }
  1123. *ptr_fine = *ptr_fine + 1000;
  1124. *ptr_jailTime = *ptr_jailTime + 3;
  1125. break;
  1126.  
  1127. case 16:
  1128. //Drag Racing
  1129. if (strcmp(chargeA, " ") == 0)
  1130. {
  1131. strcpy(chargeA, "Drag Racing");
  1132. }
  1133. else if (strcmp(chargeB, " ") == 0)
  1134. {
  1135. strcpy(chargeB, ", Drag Racing");
  1136. }
  1137. else if (strcmp(chargeC, " ") == 0)
  1138. {
  1139. strcpy(chargeC, ", Drag Racing");
  1140. }
  1141. else if (strcmp(chargeD, " ") == 0)
  1142. {
  1143. strcpy(chargeD, ", Drag Racing");
  1144. }
  1145. else if (strcmp(chargeE, " ") == 0)
  1146. {
  1147. strcpy(chargeE, ", Drag Racing");
  1148. }
  1149. else if (strcmp(chargeF, " ") == 0)
  1150. {
  1151. strcpy(chargeF, ", Drag Racing");
  1152. }
  1153. else if (strcmp(chargeG, " ") == 0)
  1154. {
  1155. strcpy(chargeG, ", Drag Racing");
  1156. }
  1157. else if (strcmp(chargeH, " ") == 0)
  1158. {
  1159. strcpy(chargeH, ", Drag Racing");
  1160. }
  1161. else if (strcmp(chargeI, " ") == 0)
  1162. {
  1163. strcpy(chargeI, ", Drag Racing");
  1164. }
  1165. else if (strcmp(chargeJ, " ") == 0)
  1166. {
  1167. strcpy(chargeJ, ", Drag Racing");
  1168. }
  1169. else if (strcmp(chargeK, " ") == 0)
  1170. {
  1171. strcpy(chargeK, ", Drag Racing");
  1172. }
  1173. else if (strcmp(chargeL, " ") == 0)
  1174. {
  1175. strcpy(chargeL, ", Drag Racing");
  1176. }
  1177. else if (strcmp(chargeM, " ") == 0)
  1178. {
  1179. strcpy(chargeM, ", Drag Racing");
  1180. }
  1181. else if (strcmp(chargeN, " ") == 0)
  1182. {
  1183. strcpy(chargeN, ", Drag Racing");
  1184. }
  1185. else if (strcmp(chargeO, " ") == 0)
  1186. {
  1187. strcpy(chargeO, ", Drag Racing");
  1188. }
  1189. *ptr_fine = *ptr_fine + 1000;
  1190. *ptr_jailTime = *ptr_jailTime + 3;
  1191. break;
  1192.  
  1193. case 17:
  1194. //Street Racing
  1195. if (strcmp(chargeA, " ") == 0)
  1196. {
  1197. strcpy(chargeA, "Street Racing");
  1198. }
  1199. else if (strcmp(chargeB, " ") == 0)
  1200. {
  1201. strcpy(chargeB, ", Street Racing");
  1202. }
  1203. else if (strcmp(chargeC, " ") == 0)
  1204. {
  1205. strcpy(chargeC, ", Street Racing");
  1206. }
  1207. else if (strcmp(chargeD, " ") == 0)
  1208. {
  1209. strcpy(chargeD, ", Street Racing");
  1210. }
  1211. else if (strcmp(chargeE, " ") == 0)
  1212. {
  1213. strcpy(chargeE, ", Street Racing");
  1214. }
  1215. else if (strcmp(chargeF, " ") == 0)
  1216. {
  1217. strcpy(chargeF, ", Street Racing");
  1218. }
  1219. else if (strcmp(chargeG, " ") == 0)
  1220. {
  1221. strcpy(chargeG, ", Street Racing");
  1222. }
  1223. else if (strcmp(chargeH, " ") == 0)
  1224. {
  1225. strcpy(chargeH, ", Street Racing");
  1226. }
  1227. else if (strcmp(chargeI, " ") == 0)
  1228. {
  1229. strcpy(chargeI, ", Street Racing");
  1230. }
  1231. else if (strcmp(chargeJ, " ") == 0)
  1232. {
  1233. strcpy(chargeJ, ", Street Racing");
  1234. }
  1235. else if (strcmp(chargeK, " ") == 0)
  1236. {
  1237. strcpy(chargeK, ", Street Racing");
  1238. }
  1239. else if (strcmp(chargeL, " ") == 0)
  1240. {
  1241. strcpy(chargeL, ", Street Racing");
  1242. }
  1243. else if (strcmp(chargeM, " ") == 0)
  1244. {
  1245. strcpy(chargeM, ", Street Racing");
  1246. }
  1247. else if (strcmp(chargeN, " ") == 0)
  1248. {
  1249. strcpy(chargeN, ", DStreet Racing");
  1250. }
  1251. else if (strcmp(chargeO, " ") == 0)
  1252. {
  1253. strcpy(chargeO, ", Street Racing");
  1254. }
  1255. *ptr_fine = *ptr_fine + 1000;
  1256. *ptr_jailTime = *ptr_jailTime + 3;
  1257. break;
  1258.  
  1259. case 18:
  1260. //Driving Without A License
  1261. if (strcmp(chargeA, " ") == 0)
  1262. {
  1263. strcpy(chargeA, "Driving Without A License");
  1264. }
  1265. else if (strcmp(chargeB, " ") == 0)
  1266. {
  1267. strcpy(chargeB, ", Driving Without A License");
  1268. }
  1269. else if (strcmp(chargeC, " ") == 0)
  1270. {
  1271. strcpy(chargeC, ", Driving Without A License");
  1272. }
  1273. else if (strcmp(chargeD, " ") == 0)
  1274. {
  1275. strcpy(chargeD, ", Driving Without A License");
  1276. }
  1277. else if (strcmp(chargeE, " ") == 0)
  1278. {
  1279. strcpy(chargeE, ", Driving Without A License");
  1280. }
  1281. else if (strcmp(chargeF, " ") == 0)
  1282. {
  1283. strcpy(chargeF, ", Driving Without A License");
  1284. }
  1285. else if (strcmp(chargeG, " ") == 0)
  1286. {
  1287. strcpy(chargeG, ", Driving Without A License");
  1288. }
  1289. else if (strcmp(chargeH, " ") == 0)
  1290. {
  1291. strcpy(chargeH, ", Driving Without A License");
  1292. }
  1293. else if (strcmp(chargeI, " ") == 0)
  1294. {
  1295. strcpy(chargeI, ", Driving Without A License");
  1296. }
  1297. else if (strcmp(chargeJ, " ") == 0)
  1298. {
  1299. strcpy(chargeJ, ", Driving Without A License");
  1300. }
  1301. else if (strcmp(chargeK, " ") == 0)
  1302. {
  1303. strcpy(chargeK, ", Driving Without A License");
  1304. }
  1305. else if (strcmp(chargeL, " ") == 0)
  1306. {
  1307. strcpy(chargeL, ", Driving Without A License");
  1308. }
  1309. else if (strcmp(chargeM, " ") == 0)
  1310. {
  1311. strcpy(chargeM, ", Driving Without A License");
  1312. }
  1313. else if (strcmp(chargeN, " ") == 0)
  1314. {
  1315. strcpy(chargeN, ", Driving Without A License");
  1316. }
  1317. else if (strcmp(chargeO, " ") == 0)
  1318. {
  1319. strcpy(chargeO, ", Driving Without A License");
  1320. }
  1321. *ptr_fine = *ptr_fine + 2000;
  1322. *ptr_jailTime = *ptr_jailTime + 5;
  1323. break;
  1324.  
  1325. case 19:
  1326. //Driving The Wrong Way
  1327. if (strcmp(chargeA, " ") == 0)
  1328. {
  1329. strcpy(chargeA, "Driving The Wrong Way");
  1330. }
  1331. else if (strcmp(chargeB, " ") == 0)
  1332. {
  1333. strcpy(chargeB, ", Driving The Wrong Way");
  1334. }
  1335. else if (strcmp(chargeC, " ") == 0)
  1336. {
  1337. strcpy(chargeC, ", Driving The Wrong Way");
  1338. }
  1339. else if (strcmp(chargeD, " ") == 0)
  1340. {
  1341. strcpy(chargeD, ", Driving The Wrong Way");
  1342. }
  1343. else if (strcmp(chargeE, " ") == 0)
  1344. {
  1345. strcpy(chargeE, ", Driving The Wrong Way");
  1346. }
  1347. else if (strcmp(chargeF, " ") == 0)
  1348. {
  1349. strcpy(chargeF, ", Driving The Wrong Way");
  1350. }
  1351. else if (strcmp(chargeG, " ") == 0)
  1352. {
  1353. strcpy(chargeG, ", Driving The Wrong Way");
  1354. }
  1355. else if (strcmp(chargeH, " ") == 0)
  1356. {
  1357. strcpy(chargeH, ", Driving The Wrong Way");
  1358. }
  1359. else if (strcmp(chargeI, " ") == 0)
  1360. {
  1361. strcpy(chargeI, ", Driving The Wrong Way");
  1362. }
  1363. else if (strcmp(chargeJ, " ") == 0)
  1364. {
  1365. strcpy(chargeJ, ", Driving The Wrong Way");
  1366. }
  1367. else if (strcmp(chargeK, " ") == 0)
  1368. {
  1369. strcpy(chargeK, ", Driving The Wrong Way");
  1370. }
  1371. else if (strcmp(chargeL, " ") == 0)
  1372. {
  1373. strcpy(chargeL, ", Driving The Wrong Way");
  1374. }
  1375. else if (strcmp(chargeM, " ") == 0)
  1376. {
  1377. strcpy(chargeM, ", Driving The Wrong Way");
  1378. }
  1379. else if (strcmp(chargeN, " ") == 0)
  1380. {
  1381. strcpy(chargeN, ", Driving The Wrong Way");
  1382. }
  1383. else if (strcmp(chargeO, " ") == 0)
  1384. {
  1385. strcpy(chargeO, ", Driving The Wrong Way");
  1386. }
  1387. *ptr_fine = *ptr_fine + 1000;
  1388. break;
  1389.  
  1390. case 20:
  1391. //Hit And Run
  1392. if (strcmp(chargeA, " ") == 0)
  1393. {
  1394. strcpy(chargeA, "Hit And Run");
  1395. }
  1396. else if (strcmp(chargeB, " ") == 0)
  1397. {
  1398. strcpy(chargeB, ", Hit And Run");
  1399. }
  1400. else if (strcmp(chargeC, " ") == 0)
  1401. {
  1402. strcpy(chargeC, ", Hit And Run");
  1403. }
  1404. else if (strcmp(chargeD, " ") == 0)
  1405. {
  1406. strcpy(chargeD, ", Hit And Run");
  1407. }
  1408. else if (strcmp(chargeE, " ") == 0)
  1409. {
  1410. strcpy(chargeE, ", Hit And Run");
  1411. }
  1412. else if (strcmp(chargeF, " ") == 0)
  1413. {
  1414. strcpy(chargeF, ", Hit And Run");
  1415. }
  1416. else if (strcmp(chargeG, " ") == 0)
  1417. {
  1418. strcpy(chargeG, ", Hit And Run");
  1419. }
  1420. else if (strcmp(chargeH, " ") == 0)
  1421. {
  1422. strcpy(chargeH, ", Hit And Run");
  1423. }
  1424. else if (strcmp(chargeI, " ") == 0)
  1425. {
  1426. strcpy(chargeI, ", Hit And Run");
  1427. }
  1428. else if (strcmp(chargeJ, " ") == 0)
  1429. {
  1430. strcpy(chargeJ, ", Hit And Run");
  1431. }
  1432. else if (strcmp(chargeK, " ") == 0)
  1433. {
  1434. strcpy(chargeK, ", Hit And Run");
  1435. }
  1436. else if (strcmp(chargeL, " ") == 0)
  1437. {
  1438. strcpy(chargeL, ", Hit And Run");
  1439. }
  1440. else if (strcmp(chargeM, " ") == 0)
  1441. {
  1442. strcpy(chargeM, ", Hit And Run");
  1443. }
  1444. else if (strcmp(chargeN, " ") == 0)
  1445. {
  1446. strcpy(chargeN, ", Hit And Run");
  1447. }
  1448. else if (strcmp(chargeO, " ") == 0)
  1449. {
  1450. strcpy(chargeO, ", Hit And Run");
  1451. }
  1452. *ptr_fine = *ptr_fine + 5000;
  1453. *ptr_jailTime = *ptr_jailTime + 10;
  1454. break;
  1455.  
  1456. case 21:
  1457. //Careless Driving
  1458. if (strcmp(chargeA, " ") == 0)
  1459. {
  1460. strcpy(chargeA, "Careless Driving");
  1461. }
  1462. else if (strcmp(chargeB, " ") == 0)
  1463. {
  1464. strcpy(chargeB, ", Careless Driving");
  1465. }
  1466. else if (strcmp(chargeC, " ") == 0)
  1467. {
  1468. strcpy(chargeC, ", Careless Driving");
  1469. }
  1470. else if (strcmp(chargeD, " ") == 0)
  1471. {
  1472. strcpy(chargeD, ", Careless Driving");
  1473. }
  1474. else if (strcmp(chargeE, " ") == 0)
  1475. {
  1476. strcpy(chargeE, ", Careless Driving");
  1477. }
  1478. else if (strcmp(chargeF, " ") == 0)
  1479. {
  1480. strcpy(chargeF, ", Careless Driving");
  1481. }
  1482. else if (strcmp(chargeG, " ") == 0)
  1483. {
  1484. strcpy(chargeG, ", Careless Driving");
  1485. }
  1486. else if (strcmp(chargeH, " ") == 0)
  1487. {
  1488. strcpy(chargeH, ", Careless Driving");
  1489. }
  1490. else if (strcmp(chargeI, " ") == 0)
  1491. {
  1492. strcpy(chargeI, ", Careless Driving");
  1493. }
  1494. else if (strcmp(chargeJ, " ") == 0)
  1495. {
  1496. strcpy(chargeJ, ", Careless Driving");
  1497. }
  1498. else if (strcmp(chargeK, " ") == 0)
  1499. {
  1500. strcpy(chargeK, ", Careless Driving");
  1501. }
  1502. else if (strcmp(chargeL, " ") == 0)
  1503. {
  1504. strcpy(chargeL, ", Careless Driving");
  1505. }
  1506. else if (strcmp(chargeM, " ") == 0)
  1507. {
  1508. strcpy(chargeM, ", Careless Driving");
  1509. }
  1510. else if (strcmp(chargeN, " ") == 0)
  1511. {
  1512. strcpy(chargeN, ", Careless Driving");
  1513. }
  1514. else if (strcmp(chargeO, " ") == 0)
  1515. {
  1516. strcpy(chargeO, ", Careless Driving");
  1517. }
  1518. *ptr_fine = *ptr_fine + 2500;
  1519. *ptr_jailTime = *ptr_jailTime + 10;
  1520. break;
  1521.  
  1522. case 22:
  1523. //Reckless Driving
  1524. if (strcmp(chargeA, " ") == 0)
  1525. {
  1526. strcpy(chargeA, "Reckless Driving");
  1527. }
  1528. else if (strcmp(chargeB, " ") == 0)
  1529. {
  1530. strcpy(chargeB, ", Reckless Driving");
  1531. }
  1532. else if (strcmp(chargeC, " ") == 0)
  1533. {
  1534. strcpy(chargeC, ", Reckless Driving");
  1535. }
  1536. else if (strcmp(chargeD, " ") == 0)
  1537. {
  1538. strcpy(chargeD, ", Reckless Driving");
  1539. }
  1540. else if (strcmp(chargeE, " ") == 0)
  1541. {
  1542. strcpy(chargeE, ", Reckless Driving");
  1543. }
  1544. else if (strcmp(chargeF, " ") == 0)
  1545. {
  1546. strcpy(chargeF, ", Reckless Driving");
  1547. }
  1548. else if (strcmp(chargeG, " ") == 0)
  1549. {
  1550. strcpy(chargeG, ", Reckless Driving");
  1551. }
  1552. else if (strcmp(chargeH, " ") == 0)
  1553. {
  1554. strcpy(chargeH, ", Reckless Driving");
  1555. }
  1556. else if (strcmp(chargeI, " ") == 0)
  1557. {
  1558. strcpy(chargeI, ", Reckless Driving");
  1559. }
  1560. else if (strcmp(chargeJ, " ") == 0)
  1561. {
  1562. strcpy(chargeJ, ", Reckless Driving");
  1563. }
  1564. else if (strcmp(chargeK, " ") == 0)
  1565. {
  1566. strcpy(chargeK, ", Reckless Driving");
  1567. }
  1568. else if (strcmp(chargeL, " ") == 0)
  1569. {
  1570. strcpy(chargeL, ", Reckless Driving");
  1571. }
  1572. else if (strcmp(chargeM, " ") == 0)
  1573. {
  1574. strcpy(chargeM, ", Reckless Driving");
  1575. }
  1576. else if (strcmp(chargeN, " ") == 0)
  1577. {
  1578. strcpy(chargeN, ", Reckless Driving");
  1579. }
  1580. else if (strcmp(chargeO, " ") == 0)
  1581. {
  1582. strcpy(chargeO, ", Reckless Driving");
  1583. }
  1584. *ptr_fine = *ptr_fine + 10000;
  1585. *ptr_jailTime = *ptr_jailTime + 20;
  1586. break;
  1587.  
  1588. case 0:
  1589. break;
  1590.  
  1591. default:printf("\n\n\n\t\t Choose options 0-22! ");
  1592. break;
  1593. }
  1594. } while (choice);
  1595. }
  1596. 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])
  1597. {
  1598. int choice;
  1599. do
  1600. {
  1601. printf(
  1602. "\n\n\n\t\t --MISDEMEANORS--"
  1603. "\n 1. Harassment"
  1604. "\n 2. Public Damage"
  1605. "\n 3. Private Damage"
  1606. "\n 4. Government Damage"
  1607. "\n 5. Public Intoxication"
  1608. "\n 6. Obstruction"
  1609. "\n 7. Disturbing The Peace"
  1610. "\n 8. Discharge of A Firearm"
  1611. "\n 9. Attempted Robbery"
  1612. "\n 10. Attempted GTA"
  1613. "\n 11. Bootleg Alcohol"
  1614. "\n 12. Possession of Raw Illegal Drugs"
  1615. "\n 13. Loitering"
  1616. "\n 14. Accessory To A Crime"
  1617. "\n 15. Assault"
  1618. "\n 16. Eluding Police On Foot"
  1619. "\n 17. Resisting Arrest"
  1620. "\n 18. Animal Abuse"
  1621. "\n 19. Misuse of 911"
  1622. "\n 20. Bribery"
  1623. "\n 21. Contempt of Court"
  1624. "\n 22. Tampering With Evidence"
  1625. "\n 23. Extortion"
  1626. "\n 24. Failure To Provide Drivers License"
  1627. "\n 25. Level 1 Illegal Weapon"
  1628. "\n 26. Level 2 Illegal Weapon"
  1629. "\n 0. GO BACK"
  1630. "\n\n Enter Your Selection: ");
  1631. scanf("%d", &choice);
  1632. switch (choice)
  1633. {
  1634. case 1:
  1635. //Harassment
  1636. if (strcmp(chargeA, " ") == 0)
  1637. {
  1638. strcpy(chargeA, "Harassment");
  1639. }
  1640. else if (strcmp(chargeB, " ") == 0)
  1641. {
  1642. strcpy(chargeB, ", Harassment");
  1643. }
  1644. else if (strcmp(chargeC, " ") == 0)
  1645. {
  1646. strcpy(chargeC, ", Harassment");
  1647. }
  1648. else if (strcmp(chargeD, " ") == 0)
  1649. {
  1650. strcpy(chargeD, ", Harassment");
  1651. }
  1652. else if (strcmp(chargeE, " ") == 0)
  1653. {
  1654. strcpy(chargeE, ", Harassment");
  1655. }
  1656. else if (strcmp(chargeF, " ") == 0)
  1657. {
  1658. strcpy(chargeF, ", Harassment");
  1659. }
  1660. else if (strcmp(chargeG, " ") == 0)
  1661. {
  1662. strcpy(chargeG, ", Harassment");
  1663. }
  1664. else if (strcmp(chargeH, " ") == 0)
  1665. {
  1666. strcpy(chargeH, ", Harassment");
  1667. }
  1668. else if (strcmp(chargeI, " ") == 0)
  1669. {
  1670. strcpy(chargeI, ", Harassment");
  1671. }
  1672. else if (strcmp(chargeJ, " ") == 0)
  1673. {
  1674. strcpy(chargeJ, ", Harassment");
  1675. }
  1676. else if (strcmp(chargeK, " ") == 0)
  1677. {
  1678. strcpy(chargeK, ", Harassment");
  1679. }
  1680. else if (strcmp(chargeL, " ") == 0)
  1681. {
  1682. strcpy(chargeL, ", Harassment");
  1683. }
  1684. else if (strcmp(chargeM, " ") == 0)
  1685. {
  1686. strcpy(chargeM, ", Harassment");
  1687. }
  1688. else if (strcmp(chargeN, " ") == 0)
  1689. {
  1690. strcpy(chargeN, ", Harassment");
  1691. }
  1692. else if (strcmp(chargeO, " ") == 0)
  1693. {
  1694. strcpy(chargeO, ", Harassment");
  1695. }
  1696. *ptr_fine = *ptr_fine + 500;
  1697. *ptr_jailTime = *ptr_jailTime + 5;
  1698. break;
  1699. case 2:
  1700. //Public Damage
  1701. if (strcmp(chargeA, " ") == 0)
  1702. {
  1703. strcpy(chargeA, "Public Damage");
  1704. }
  1705. else if (strcmp(chargeB, " ") == 0)
  1706. {
  1707. strcpy(chargeB, ", Public Damage");
  1708. }
  1709. else if (strcmp(chargeC, " ") == 0)
  1710. {
  1711. strcpy(chargeC, ", Public Damage");
  1712. }
  1713. else if (strcmp(chargeD, " ") == 0)
  1714. {
  1715. strcpy(chargeD, ", Public Damage");
  1716. }
  1717. else if (strcmp(chargeE, " ") == 0)
  1718. {
  1719. strcpy(chargeE, ", Public Damage");
  1720. }
  1721. else if (strcmp(chargeF, " ") == 0)
  1722. {
  1723. strcpy(chargeF, ", Public Damage");
  1724. }
  1725. else if (strcmp(chargeG, " ") == 0)
  1726. {
  1727. strcpy(chargeG, ", Public Damage");
  1728. }
  1729. else if (strcmp(chargeH, " ") == 0)
  1730. {
  1731. strcpy(chargeH, ", Public Damage");
  1732. }
  1733. else if (strcmp(chargeI, " ") == 0)
  1734. {
  1735. strcpy(chargeI, ", Public Damage");
  1736. }
  1737. else if (strcmp(chargeJ, " ") == 0)
  1738. {
  1739. strcpy(chargeJ, ", Public Damage");
  1740. }
  1741. else if (strcmp(chargeK, " ") == 0)
  1742. {
  1743. strcpy(chargeK, ", Public Damage");
  1744. }
  1745. else if (strcmp(chargeL, " ") == 0)
  1746. {
  1747. strcpy(chargeL, ", Public Damage");
  1748. }
  1749. else if (strcmp(chargeM, " ") == 0)
  1750. {
  1751. strcpy(chargeM, ", Public Damage");
  1752. }
  1753. else if (strcmp(chargeN, " ") == 0)
  1754. {
  1755. strcpy(chargeN, ", Public Damage");
  1756. }
  1757. else if (strcmp(chargeO, " ") == 0)
  1758. {
  1759. strcpy(chargeO, ", Public Damage");
  1760. }
  1761. *ptr_fine = *ptr_fine + 500;
  1762. *ptr_jailTime = *ptr_jailTime + 5;
  1763. break;
  1764.  
  1765. case 3:
  1766. //Private Damage
  1767. if (strcmp(chargeA, " ") == 0)
  1768. {
  1769. strcpy(chargeA, "Private Damage");
  1770. }
  1771. else if (strcmp(chargeB, " ") == 0)
  1772. {
  1773. strcpy(chargeB, ", Private Damage");
  1774. }
  1775. else if (strcmp(chargeC, " ") == 0)
  1776. {
  1777. strcpy(chargeC, ", Private Damage");
  1778. }
  1779. else if (strcmp(chargeD, " ") == 0)
  1780. {
  1781. strcpy(chargeD, ", Private Damage");
  1782. }
  1783. else if (strcmp(chargeE, " ") == 0)
  1784. {
  1785. strcpy(chargeE, ", Private Damage");
  1786. }
  1787. else if (strcmp(chargeF, " ") == 0)
  1788. {
  1789. strcpy(chargeF, ", Private Damage");
  1790. }
  1791. else if (strcmp(chargeG, " ") == 0)
  1792. {
  1793. strcpy(chargeG, ", Private Damage");
  1794. }
  1795. else if (strcmp(chargeH, " ") == 0)
  1796. {
  1797. strcpy(chargeH, ", Private Damage");
  1798. }
  1799. else if (strcmp(chargeI, " ") == 0)
  1800. {
  1801. strcpy(chargeI, ", Private Damage");
  1802. }
  1803. else if (strcmp(chargeJ, " ") == 0)
  1804. {
  1805. strcpy(chargeJ, ", Private Damage");
  1806. }
  1807. else if (strcmp(chargeK, " ") == 0)
  1808. {
  1809. strcpy(chargeK, ", Private Damage");
  1810. }
  1811. else if (strcmp(chargeL, " ") == 0)
  1812. {
  1813. strcpy(chargeL, ", Private Damage");
  1814. }
  1815. else if (strcmp(chargeM, " ") == 0)
  1816. {
  1817. strcpy(chargeM, ", Private Damage");
  1818. }
  1819. else if (strcmp(chargeN, " ") == 0)
  1820. {
  1821. strcpy(chargeN, ", Private Damage");
  1822. }
  1823. else if (strcmp(chargeO, " ") == 0)
  1824. {
  1825. strcpy(chargeO, ", Private Damage");
  1826. }
  1827. *ptr_fine = *ptr_fine + 1000;
  1828. *ptr_jailTime = *ptr_jailTime + 5;
  1829. break;
  1830.  
  1831. case 4:
  1832. //Government Damage
  1833. if (strcmp(chargeA, " ") == 0)
  1834. {
  1835. strcpy(chargeA, "Government Damage");
  1836. }
  1837. else if (strcmp(chargeB, " ") == 0)
  1838. {
  1839. strcpy(chargeB, ", Government Damage");
  1840. }
  1841. else if (strcmp(chargeC, " ") == 0)
  1842. {
  1843. strcpy(chargeC, ", Government Damage");
  1844. }
  1845. else if (strcmp(chargeD, " ") == 0)
  1846. {
  1847. strcpy(chargeD, ", Government Damage");
  1848. }
  1849. else if (strcmp(chargeE, " ") == 0)
  1850. {
  1851. strcpy(chargeE, ", Government Damage");
  1852. }
  1853. else if (strcmp(chargeF, " ") == 0)
  1854. {
  1855. strcpy(chargeF, ", Government Damage");
  1856. }
  1857. else if (strcmp(chargeG, " ") == 0)
  1858. {
  1859. strcpy(chargeG, ", Government Damage");
  1860. }
  1861. else if (strcmp(chargeH, " ") == 0)
  1862. {
  1863. strcpy(chargeH, ", Government Damage");
  1864. }
  1865. else if (strcmp(chargeI, " ") == 0)
  1866. {
  1867. strcpy(chargeI, ", Government Damage");
  1868. }
  1869. else if (strcmp(chargeJ, " ") == 0)
  1870. {
  1871. strcpy(chargeJ, ", Government Damage");
  1872. }
  1873. else if (strcmp(chargeK, " ") == 0)
  1874. {
  1875. strcpy(chargeK, ", Government Damage");
  1876. }
  1877. else if (strcmp(chargeL, " ") == 0)
  1878. {
  1879. strcpy(chargeL, ", Government Damage");
  1880. }
  1881. else if (strcmp(chargeM, " ") == 0)
  1882. {
  1883. strcpy(chargeM, ", Government Damage");
  1884. }
  1885. else if (strcmp(chargeN, " ") == 0)
  1886. {
  1887. strcpy(chargeN, ", Government Damage");
  1888. }
  1889. else if (strcmp(chargeO, " ") == 0)
  1890. {
  1891. strcpy(chargeO, ", Government Damage");
  1892. }
  1893. *ptr_fine = *ptr_fine + 5000;
  1894. *ptr_jailTime = *ptr_jailTime + 15;
  1895. break;
  1896.  
  1897. case 5:
  1898. //Public Intoxication
  1899. if (strcmp(chargeA, " ") == 0)
  1900. {
  1901. strcpy(chargeA, "Public Intoxication");
  1902. }
  1903. else if (strcmp(chargeB, " ") == 0)
  1904. {
  1905. strcpy(chargeB, ", Public Intoxication");
  1906. }
  1907. else if (strcmp(chargeC, " ") == 0)
  1908. {
  1909. strcpy(chargeC, ", Public Intoxication");
  1910. }
  1911. else if (strcmp(chargeD, " ") == 0)
  1912. {
  1913. strcpy(chargeD, ", Public Intoxication");
  1914. }
  1915. else if (strcmp(chargeE, " ") == 0)
  1916. {
  1917. strcpy(chargeE, ", Public Intoxication");
  1918. }
  1919. else if (strcmp(chargeF, " ") == 0)
  1920. {
  1921. strcpy(chargeF, ", Public Intoxication");
  1922. }
  1923. else if (strcmp(chargeG, " ") == 0)
  1924. {
  1925. strcpy(chargeG, ", Public Intoxication");
  1926. }
  1927. else if (strcmp(chargeH, " ") == 0)
  1928. {
  1929. strcpy(chargeH, ", Public Intoxication");
  1930. }
  1931. else if (strcmp(chargeI, " ") == 0)
  1932. {
  1933. strcpy(chargeI, ", Public Intoxication");
  1934. }
  1935. else if (strcmp(chargeJ, " ") == 0)
  1936. {
  1937. strcpy(chargeJ, ", Public Intoxication");
  1938. }
  1939. else if (strcmp(chargeK, " ") == 0)
  1940. {
  1941. strcpy(chargeK, ", Public Intoxication");
  1942. }
  1943. else if (strcmp(chargeL, " ") == 0)
  1944. {
  1945. strcpy(chargeL, ", Public Intoxication");
  1946. }
  1947. else if (strcmp(chargeM, " ") == 0)
  1948. {
  1949. strcpy(chargeM, ", Public Intoxication");
  1950. }
  1951. else if (strcmp(chargeN, " ") == 0)
  1952. {
  1953. strcpy(chargeN, ", Public Intoxication");
  1954. }
  1955. else if (strcmp(chargeO, " ") == 0)
  1956. {
  1957. strcpy(chargeO, ", Public Intoxication");
  1958. }
  1959. *ptr_fine = *ptr_fine + 500;
  1960. *ptr_jailTime = *ptr_jailTime + 1;
  1961. break;
  1962.  
  1963. case 6:
  1964. //Obstruction
  1965. if (strcmp(chargeA, " ") == 0)
  1966. {
  1967. strcpy(chargeA, "Obstruction");
  1968. }
  1969. else if (strcmp(chargeB, " ") == 0)
  1970. {
  1971. strcpy(chargeB, ", Obstruction");
  1972. }
  1973. else if (strcmp(chargeC, " ") == 0)
  1974. {
  1975. strcpy(chargeC, ", Obstruction");
  1976. }
  1977. else if (strcmp(chargeD, " ") == 0)
  1978. {
  1979. strcpy(chargeD, ", Obstruction");
  1980. }
  1981. else if (strcmp(chargeE, " ") == 0)
  1982. {
  1983. strcpy(chargeE, ", Obstruction");
  1984. }
  1985. else if (strcmp(chargeF, " ") == 0)
  1986. {
  1987. strcpy(chargeF, ", Obstruction");
  1988. }
  1989. else if (strcmp(chargeG, " ") == 0)
  1990. {
  1991. strcpy(chargeG, ", Obstruction");
  1992. }
  1993. else if (strcmp(chargeH, " ") == 0)
  1994. {
  1995. strcpy(chargeH, ", Obstruction");
  1996. }
  1997. else if (strcmp(chargeI, " ") == 0)
  1998. {
  1999. strcpy(chargeI, ", Obstruction");
  2000. }
  2001. else if (strcmp(chargeJ, " ") == 0)
  2002. {
  2003. strcpy(chargeJ, ", Obstruction");
  2004. }
  2005. else if (strcmp(chargeK, " ") == 0)
  2006. {
  2007. strcpy(chargeK, ", Obstruction");
  2008. }
  2009. else if (strcmp(chargeL, " ") == 0)
  2010. {
  2011. strcpy(chargeL, ", Obstruction");
  2012. }
  2013. else if (strcmp(chargeM, " ") == 0)
  2014. {
  2015. strcpy(chargeM, ", Obstruction");
  2016. }
  2017. else if (strcmp(chargeN, " ") == 0)
  2018. {
  2019. strcpy(chargeN, ", Obstruction");
  2020. }
  2021. else if (strcmp(chargeO, " ") == 0)
  2022. {
  2023. strcpy(chargeO, ", Obstruction");
  2024. }
  2025. *ptr_fine = *ptr_fine + 5000;
  2026. *ptr_jailTime = *ptr_jailTime + 10;
  2027. break;
  2028.  
  2029. case 7:
  2030. //Disturbing The Peace
  2031. if (strcmp(chargeA, " ") == 0)
  2032. {
  2033. strcpy(chargeA, "Disturbing The Peace");
  2034. }
  2035. else if (strcmp(chargeB, " ") == 0)
  2036. {
  2037. strcpy(chargeB, ", Disturbing The Peace");
  2038. }
  2039. else if (strcmp(chargeC, " ") == 0)
  2040. {
  2041. strcpy(chargeC, ", Disturbing The Peace");
  2042. }
  2043. else if (strcmp(chargeD, " ") == 0)
  2044. {
  2045. strcpy(chargeD, ", Disturbing The Peace");
  2046. }
  2047. else if (strcmp(chargeE, " ") == 0)
  2048. {
  2049. strcpy(chargeE, ", Disturbing The Peace");
  2050. }
  2051. else if (strcmp(chargeF, " ") == 0)
  2052. {
  2053. strcpy(chargeF, ", Disturbing The Peace");
  2054. }
  2055. else if (strcmp(chargeG, " ") == 0)
  2056. {
  2057. strcpy(chargeG, ", Disturbing The Peace");
  2058. }
  2059. else if (strcmp(chargeH, " ") == 0)
  2060. {
  2061. strcpy(chargeH, ", Disturbing The Peace");
  2062. }
  2063. else if (strcmp(chargeI, " ") == 0)
  2064. {
  2065. strcpy(chargeI, ", Disturbing The Peace");
  2066. }
  2067. else if (strcmp(chargeJ, " ") == 0)
  2068. {
  2069. strcpy(chargeJ, ", Disturbing The Peace");
  2070. }
  2071. else if (strcmp(chargeK, " ") == 0)
  2072. {
  2073. strcpy(chargeK, ", Disturbing The Peace");
  2074. }
  2075. else if (strcmp(chargeL, " ") == 0)
  2076. {
  2077. strcpy(chargeL, ", Disturbing The Peace");
  2078. }
  2079. else if (strcmp(chargeM, " ") == 0)
  2080. {
  2081. strcpy(chargeM, ", Disturbing The Peace");
  2082. }
  2083. else if (strcmp(chargeN, " ") == 0)
  2084. {
  2085. strcpy(chargeN, ", Disturbing The Peace");
  2086. }
  2087. else if (strcmp(chargeO, " ") == 0)
  2088. {
  2089. strcpy(chargeO, ", Disturbing The Peace");
  2090. }
  2091. *ptr_fine = *ptr_fine + 1000;
  2092. *ptr_jailTime = *ptr_jailTime + 10;
  2093. break;
  2094.  
  2095. case 8:
  2096. //Discharge of A Firearm
  2097. if (strcmp(chargeA, " ") == 0)
  2098. {
  2099. strcpy(chargeA, "Discharge of A Firearm");
  2100. }
  2101. else if (strcmp(chargeB, " ") == 0)
  2102. {
  2103. strcpy(chargeB, ", Discharge of A Firearm");
  2104. }
  2105. else if (strcmp(chargeC, " ") == 0)
  2106. {
  2107. strcpy(chargeC, ", Discharge of A Firearm");
  2108. }
  2109. else if (strcmp(chargeD, " ") == 0)
  2110. {
  2111. strcpy(chargeD, ", Discharge of A Firearm");
  2112. }
  2113. else if (strcmp(chargeE, " ") == 0)
  2114. {
  2115. strcpy(chargeE, ", Discharge of A Firearm");
  2116. }
  2117. else if (strcmp(chargeF, " ") == 0)
  2118. {
  2119. strcpy(chargeF, ", Discharge of A Firearm");
  2120. }
  2121. else if (strcmp(chargeG, " ") == 0)
  2122. {
  2123. strcpy(chargeG, ", Discharge of A Firearm");
  2124. }
  2125. else if (strcmp(chargeH, " ") == 0)
  2126. {
  2127. strcpy(chargeH, ", Discharge of A Firearm");
  2128. }
  2129. else if (strcmp(chargeI, " ") == 0)
  2130. {
  2131. strcpy(chargeI, ", Discharge of A Firearm");
  2132. }
  2133. else if (strcmp(chargeJ, " ") == 0)
  2134. {
  2135. strcpy(chargeJ, ", Discharge of A Firearm");
  2136. }
  2137. else if (strcmp(chargeK, " ") == 0)
  2138. {
  2139. strcpy(chargeK, ", Discharge of A Firearm");
  2140. }
  2141. else if (strcmp(chargeL, " ") == 0)
  2142. {
  2143. strcpy(chargeL, ", Discharge of A Firearm");
  2144. }
  2145. else if (strcmp(chargeM, " ") == 0)
  2146. {
  2147. strcpy(chargeM, ", Discharge of A Firearm");
  2148. }
  2149. else if (strcmp(chargeN, " ") == 0)
  2150. {
  2151. strcpy(chargeN, ", Discharge of A Firearm");
  2152. }
  2153. else if (strcmp(chargeO, " ") == 0)
  2154. {
  2155. strcpy(chargeO, ", Discharge of A Firearm");
  2156. }
  2157. *ptr_fine = *ptr_fine + 5000;
  2158. *ptr_jailTime = *ptr_jailTime + 25;
  2159. break;
  2160.  
  2161. case 9:
  2162. //Attempted Robbery
  2163. if (strcmp(chargeA, " ") == 0)
  2164. {
  2165. strcpy(chargeA, "Attempted Robbery");
  2166. }
  2167. else if (strcmp(chargeB, " ") == 0)
  2168. {
  2169. strcpy(chargeB, ", Attempted Robbery");
  2170. }
  2171. else if (strcmp(chargeC, " ") == 0)
  2172. {
  2173. strcpy(chargeC, ", Attempted Robbery");
  2174. }
  2175. else if (strcmp(chargeD, " ") == 0)
  2176. {
  2177. strcpy(chargeD, ", Attempted Robbery");
  2178. }
  2179. else if (strcmp(chargeE, " ") == 0)
  2180. {
  2181. strcpy(chargeE, ", Attempted Robbery");
  2182. }
  2183. else if (strcmp(chargeF, " ") == 0)
  2184. {
  2185. strcpy(chargeF, ", Attempted Robbery");
  2186. }
  2187. else if (strcmp(chargeG, " ") == 0)
  2188. {
  2189. strcpy(chargeG, ", Attempted Robbery");
  2190. }
  2191. else if (strcmp(chargeH, " ") == 0)
  2192. {
  2193. strcpy(chargeH, ", Attempted Robbery");
  2194. }
  2195. else if (strcmp(chargeI, " ") == 0)
  2196. {
  2197. strcpy(chargeI, ", Attempted Robbery");
  2198. }
  2199. else if (strcmp(chargeJ, " ") == 0)
  2200. {
  2201. strcpy(chargeJ, ", Attempted Robbery");
  2202. }
  2203. else if (strcmp(chargeK, " ") == 0)
  2204. {
  2205. strcpy(chargeK, ", Attempted Robbery");
  2206. }
  2207. else if (strcmp(chargeL, " ") == 0)
  2208. {
  2209. strcpy(chargeL, ", Attempted Robbery");
  2210. }
  2211. else if (strcmp(chargeM, " ") == 0)
  2212. {
  2213. strcpy(chargeM, ", Attempted Robbery");
  2214. }
  2215. else if (strcmp(chargeN, " ") == 0)
  2216. {
  2217. strcpy(chargeN, ", Attempted Robbery");
  2218. }
  2219. else if (strcmp(chargeO, " ") == 0)
  2220. {
  2221. strcpy(chargeO, ", Attempted Robbery");
  2222. }
  2223. *ptr_fine = *ptr_fine + 2000;
  2224. *ptr_jailTime = *ptr_jailTime + 20;
  2225. break;
  2226.  
  2227. case 10:
  2228. //Attempted GTA
  2229. if (strcmp(chargeA, " ") == 0)
  2230. {
  2231. strcpy(chargeA, "Attempted GTA");
  2232. }
  2233. else if (strcmp(chargeB, " ") == 0)
  2234. {
  2235. strcpy(chargeB, ", Attempted GTA");
  2236. }
  2237. else if (strcmp(chargeC, " ") == 0)
  2238. {
  2239. strcpy(chargeC, ", Attempted GTA");
  2240. }
  2241. else if (strcmp(chargeD, " ") == 0)
  2242. {
  2243. strcpy(chargeD, ", Attempted GTA");
  2244. }
  2245. else if (strcmp(chargeE, " ") == 0)
  2246. {
  2247. strcpy(chargeE, ", Attempted GTA");
  2248. }
  2249. else if (strcmp(chargeF, " ") == 0)
  2250. {
  2251. strcpy(chargeF, ", Attempted GTA");
  2252. }
  2253. else if (strcmp(chargeG, " ") == 0)
  2254. {
  2255. strcpy(chargeG, ", Attempted GTA");
  2256. }
  2257. else if (strcmp(chargeH, " ") == 0)
  2258. {
  2259. strcpy(chargeH, ", Attempted GTA");
  2260. }
  2261. else if (strcmp(chargeI, " ") == 0)
  2262. {
  2263. strcpy(chargeI, ", Attempted GTA");
  2264. }
  2265. else if (strcmp(chargeJ, " ") == 0)
  2266. {
  2267. strcpy(chargeJ, ", Attempted GTA");
  2268. }
  2269. else if (strcmp(chargeK, " ") == 0)
  2270. {
  2271. strcpy(chargeK, ", Attempted GTA");
  2272. }
  2273. else if (strcmp(chargeL, " ") == 0)
  2274. {
  2275. strcpy(chargeL, ", Attempted GTA");
  2276. }
  2277. else if (strcmp(chargeM, " ") == 0)
  2278. {
  2279. strcpy(chargeM, ", Attempted GTA");
  2280. }
  2281. else if (strcmp(chargeN, " ") == 0)
  2282. {
  2283. strcpy(chargeN, ", Attempted GTA");
  2284. }
  2285. else if (strcmp(chargeO, " ") == 0)
  2286. {
  2287. strcpy(chargeO, ", Attempted GTA");
  2288. }
  2289. *ptr_fine = *ptr_fine + 1000;
  2290. break;
  2291.  
  2292. case 11:
  2293. //Bootleg Alcohol
  2294. if (strcmp(chargeA, " ") == 0)
  2295. {
  2296. strcpy(chargeA, "Bootleg Alcohol");
  2297. }
  2298. else if (strcmp(chargeB, " ") == 0)
  2299. {
  2300. strcpy(chargeB, ", Bootleg Alcohol");
  2301. }
  2302. else if (strcmp(chargeC, " ") == 0)
  2303. {
  2304. strcpy(chargeC, ", Bootleg Alcohol");
  2305. }
  2306. else if (strcmp(chargeD, " ") == 0)
  2307. {
  2308. strcpy(chargeD, ", Bootleg Alcohol");
  2309. }
  2310. else if (strcmp(chargeE, " ") == 0)
  2311. {
  2312. strcpy(chargeE, ", Bootleg Alcohol");
  2313. }
  2314. else if (strcmp(chargeF, " ") == 0)
  2315. {
  2316. strcpy(chargeF, ", Bootleg Alcohol");
  2317. }
  2318. else if (strcmp(chargeG, " ") == 0)
  2319. {
  2320. strcpy(chargeG, ", Bootleg Alcohol");
  2321. }
  2322. else if (strcmp(chargeH, " ") == 0)
  2323. {
  2324. strcpy(chargeH, ", Bootleg Alcohol");
  2325. }
  2326. else if (strcmp(chargeI, " ") == 0)
  2327. {
  2328. strcpy(chargeI, ", Bootleg Alcohol");
  2329. }
  2330. else if (strcmp(chargeJ, " ") == 0)
  2331. {
  2332. strcpy(chargeJ, ", Bootleg Alcohol");
  2333. }
  2334. else if (strcmp(chargeK, " ") == 0)
  2335. {
  2336. strcpy(chargeK, ", Bootleg Alcohol");
  2337. }
  2338. else if (strcmp(chargeL, " ") == 0)
  2339. {
  2340. strcpy(chargeL, ", Bootleg Alcohol");
  2341. }
  2342. else if (strcmp(chargeM, " ") == 0)
  2343. {
  2344. strcpy(chargeM, ", Bootleg Alcohol");
  2345. }
  2346. else if (strcmp(chargeN, " ") == 0)
  2347. {
  2348. strcpy(chargeN, ", Bootleg Alcohol");
  2349. }
  2350. else if (strcmp(chargeO, " ") == 0)
  2351. {
  2352. strcpy(chargeO, ", Bootleg Alcohol");
  2353. }
  2354. *ptr_fine = *ptr_fine + 1000;
  2355. *ptr_jailTime = *ptr_jailTime + 10;
  2356. break;
  2357.  
  2358. case 12:
  2359. //Possession of Raw Illegal Drugs
  2360. if (strcmp(chargeA, " ") == 0)
  2361. {
  2362. strcpy(chargeA, "Possession of Raw Illegal Drugs");
  2363. }
  2364. else if (strcmp(chargeB, " ") == 0)
  2365. {
  2366. strcpy(chargeB, ", Possession of Raw Illegal Drugs");
  2367. }
  2368. else if (strcmp(chargeC, " ") == 0)
  2369. {
  2370. strcpy(chargeC, ", Possession of Raw Illegal Drugs");
  2371. }
  2372. else if (strcmp(chargeD, " ") == 0)
  2373. {
  2374. strcpy(chargeD, ", Possession of Raw Illegal Drugs");
  2375. }
  2376. else if (strcmp(chargeE, " ") == 0)
  2377. {
  2378. strcpy(chargeE, ", Possession of Raw Illegal Drugs");
  2379. }
  2380. else if (strcmp(chargeF, " ") == 0)
  2381. {
  2382. strcpy(chargeF, ", Possession of Raw Illegal Drugs");
  2383. }
  2384. else if (strcmp(chargeG, " ") == 0)
  2385. {
  2386. strcpy(chargeG, ", Possession of Raw Illegal Drugs");
  2387. }
  2388. else if (strcmp(chargeH, " ") == 0)
  2389. {
  2390. strcpy(chargeH, ", Possession of Raw Illegal Drugs");
  2391. }
  2392. else if (strcmp(chargeI, " ") == 0)
  2393. {
  2394. strcpy(chargeI, ", Possession of Raw Illegal Drugs");
  2395. }
  2396. else if (strcmp(chargeJ, " ") == 0)
  2397. {
  2398. strcpy(chargeJ, ", Possession of Raw Illegal Drugs");
  2399. }
  2400. else if (strcmp(chargeK, " ") == 0)
  2401. {
  2402. strcpy(chargeK, ", Possession of Raw Illegal Drugs");
  2403. }
  2404. else if (strcmp(chargeL, " ") == 0)
  2405. {
  2406. strcpy(chargeL, ", Possession of Raw Illegal Drugs");
  2407. }
  2408. else if (strcmp(chargeM, " ") == 0)
  2409. {
  2410. strcpy(chargeM, ", Possession of Raw Illegal Drugs");
  2411. }
  2412. else if (strcmp(chargeN, " ") == 0)
  2413. {
  2414. strcpy(chargeN, ", Possession of Raw Illegal Drugs");
  2415. }
  2416. else if (strcmp(chargeO, " ") == 0)
  2417. {
  2418. strcpy(chargeO, ", Possession of Raw Illegal Drugs");
  2419. }
  2420. *ptr_fine = *ptr_fine + 1000;
  2421. *ptr_jailTime = *ptr_jailTime + 5;
  2422. break;
  2423.  
  2424. case 13:
  2425. //Loitering
  2426. if (strcmp(chargeA, " ") == 0)
  2427. {
  2428. strcpy(chargeA, "Loitering");
  2429. }
  2430. else if (strcmp(chargeB, " ") == 0)
  2431. {
  2432. strcpy(chargeB, ", Loitering");
  2433. }
  2434. else if (strcmp(chargeC, " ") == 0)
  2435. {
  2436. strcpy(chargeC, ", Loitering");
  2437. }
  2438. else if (strcmp(chargeD, " ") == 0)
  2439. {
  2440. strcpy(chargeD, ", Loitering");
  2441. }
  2442. else if (strcmp(chargeE, " ") == 0)
  2443. {
  2444. strcpy(chargeE, ", Loitering");
  2445. }
  2446. else if (strcmp(chargeF, " ") == 0)
  2447. {
  2448. strcpy(chargeF, ", Loitering");
  2449. }
  2450. else if (strcmp(chargeG, " ") == 0)
  2451. {
  2452. strcpy(chargeG, ", Loitering");
  2453. }
  2454. else if (strcmp(chargeH, " ") == 0)
  2455. {
  2456. strcpy(chargeH, ", Loitering");
  2457. }
  2458. else if (strcmp(chargeI, " ") == 0)
  2459. {
  2460. strcpy(chargeI, ", Loitering");
  2461. }
  2462. else if (strcmp(chargeJ, " ") == 0)
  2463. {
  2464. strcpy(chargeJ, ", Loitering");
  2465. }
  2466. else if (strcmp(chargeK, " ") == 0)
  2467. {
  2468. strcpy(chargeK, ", Loitering");
  2469. }
  2470. else if (strcmp(chargeL, " ") == 0)
  2471. {
  2472. strcpy(chargeL, ", Loitering");
  2473. }
  2474. else if (strcmp(chargeM, " ") == 0)
  2475. {
  2476. strcpy(chargeM, ", Loitering");
  2477. }
  2478. else if (strcmp(chargeN, " ") == 0)
  2479. {
  2480. strcpy(chargeN, ", Loitering");
  2481. }
  2482. else if (strcmp(chargeO, " ") == 0)
  2483. {
  2484. strcpy(chargeO, ", Loitering");
  2485. }
  2486. *ptr_fine = *ptr_fine + 1000;
  2487. *ptr_jailTime = *ptr_jailTime + 5;
  2488. break;
  2489.  
  2490. case 14:
  2491. //Accessory To A Crime
  2492. if (strcmp(chargeA, " ") == 0)
  2493. {
  2494. strcpy(chargeA, "Accessory To A Crime");
  2495. }
  2496. else if (strcmp(chargeB, " ") == 0)
  2497. {
  2498. strcpy(chargeB, ", Accessory To A Crime");
  2499. }
  2500. else if (strcmp(chargeC, " ") == 0)
  2501. {
  2502. strcpy(chargeC, ", Accessory To A Crime");
  2503. }
  2504. else if (strcmp(chargeD, " ") == 0)
  2505. {
  2506. strcpy(chargeD, ", Accessory To A Crime");
  2507. }
  2508. else if (strcmp(chargeE, " ") == 0)
  2509. {
  2510. strcpy(chargeE, ", Accessory To A Crime");
  2511. }
  2512. else if (strcmp(chargeF, " ") == 0)
  2513. {
  2514. strcpy(chargeF, ", Accessory To A Crime");
  2515. }
  2516. else if (strcmp(chargeG, " ") == 0)
  2517. {
  2518. strcpy(chargeG, ", Accessory To A Crime");
  2519. }
  2520. else if (strcmp(chargeH, " ") == 0)
  2521. {
  2522. strcpy(chargeH, ", Accessory To A Crime");
  2523. }
  2524. else if (strcmp(chargeI, " ") == 0)
  2525. {
  2526. strcpy(chargeI, ", Accessory To A Crime");
  2527. }
  2528. else if (strcmp(chargeJ, " ") == 0)
  2529. {
  2530. strcpy(chargeJ, ", Accessory To A Crime");
  2531. }
  2532. else if (strcmp(chargeK, " ") == 0)
  2533. {
  2534. strcpy(chargeK, ", Accessory To A Crime");
  2535. }
  2536. else if (strcmp(chargeL, " ") == 0)
  2537. {
  2538. strcpy(chargeL, ", Accessory To A Crime");
  2539. }
  2540. else if (strcmp(chargeM, " ") == 0)
  2541. {
  2542. strcpy(chargeM, ", Accessory To A Crime");
  2543. }
  2544. else if (strcmp(chargeN, " ") == 0)
  2545. {
  2546. strcpy(chargeN, ", Accessory To A Crime");
  2547. }
  2548. else if (strcmp(chargeO, " ") == 0)
  2549. {
  2550. strcpy(chargeO, ", Accessory To A Crime");
  2551. }
  2552. *ptr_fine = *ptr_fine + 100;
  2553. *ptr_jailTime = *ptr_jailTime + 10;
  2554. break;
  2555.  
  2556. case 15:
  2557. //Assault
  2558. if (strcmp(chargeA, " ") == 0)
  2559. {
  2560. strcpy(chargeA, "Assault");
  2561. }
  2562. else if (strcmp(chargeB, " ") == 0)
  2563. {
  2564. strcpy(chargeB, ", Assault");
  2565. }
  2566. else if (strcmp(chargeC, " ") == 0)
  2567. {
  2568. strcpy(chargeC, ", Assault");
  2569. }
  2570. else if (strcmp(chargeD, " ") == 0)
  2571. {
  2572. strcpy(chargeD, ", Assault");
  2573. }
  2574. else if (strcmp(chargeE, " ") == 0)
  2575. {
  2576. strcpy(chargeE, ", Assault");
  2577. }
  2578. else if (strcmp(chargeF, " ") == 0)
  2579. {
  2580. strcpy(chargeF, ", Assault");
  2581. }
  2582. else if (strcmp(chargeG, " ") == 0)
  2583. {
  2584. strcpy(chargeG, ", Assault");
  2585. }
  2586. else if (strcmp(chargeH, " ") == 0)
  2587. {
  2588. strcpy(chargeH, ", Assault");
  2589. }
  2590. else if (strcmp(chargeI, " ") == 0)
  2591. {
  2592. strcpy(chargeI, ", Assault");
  2593. }
  2594. else if (strcmp(chargeJ, " ") == 0)
  2595. {
  2596. strcpy(chargeJ, ", Assault");
  2597. }
  2598. else if (strcmp(chargeK, " ") == 0)
  2599. {
  2600. strcpy(chargeK, ", Assault");
  2601. }
  2602. else if (strcmp(chargeL, " ") == 0)
  2603. {
  2604. strcpy(chargeL, ", Assault");
  2605. }
  2606. else if (strcmp(chargeM, " ") == 0)
  2607. {
  2608. strcpy(chargeM, ", Assault");
  2609. }
  2610. else if (strcmp(chargeN, " ") == 0)
  2611. {
  2612. strcpy(chargeN, ", Assault");
  2613. }
  2614. else if (strcmp(chargeO, " ") == 0)
  2615. {
  2616. strcpy(chargeO, ", Assault");
  2617. }
  2618. *ptr_fine = *ptr_fine + 5000;
  2619. *ptr_jailTime = *ptr_jailTime + 10;
  2620. break;
  2621.  
  2622. case 16:
  2623. //Eluding Police On Foot
  2624. if (strcmp(chargeA, " ") == 0)
  2625. {
  2626. strcpy(chargeA, "Eluding Police On Foot");
  2627. }
  2628. else if (strcmp(chargeB, " ") == 0)
  2629. {
  2630. strcpy(chargeB, ", Eluding Police On Foot");
  2631. }
  2632. else if (strcmp(chargeC, " ") == 0)
  2633. {
  2634. strcpy(chargeC, ", Eluding Police On Foot");
  2635. }
  2636. else if (strcmp(chargeD, " ") == 0)
  2637. {
  2638. strcpy(chargeD, ", Eluding Police On Foot");
  2639. }
  2640. else if (strcmp(chargeE, " ") == 0)
  2641. {
  2642. strcpy(chargeE, ", Eluding Police On Foot");
  2643. }
  2644. else if (strcmp(chargeF, " ") == 0)
  2645. {
  2646. strcpy(chargeF, ", Eluding Police On Foot");
  2647. }
  2648. else if (strcmp(chargeG, " ") == 0)
  2649. {
  2650. strcpy(chargeG, ", Eluding Police On Foot");
  2651. }
  2652. else if (strcmp(chargeH, " ") == 0)
  2653. {
  2654. strcpy(chargeH, ", Eluding Police On Foot");
  2655. }
  2656. else if (strcmp(chargeI, " ") == 0)
  2657. {
  2658. strcpy(chargeI, ", Eluding Police On Foot");
  2659. }
  2660. else if (strcmp(chargeJ, " ") == 0)
  2661. {
  2662. strcpy(chargeJ, ", Eluding Police On Foot");
  2663. }
  2664. else if (strcmp(chargeK, " ") == 0)
  2665. {
  2666. strcpy(chargeK, ", Eluding Police On Foot");
  2667. }
  2668. else if (strcmp(chargeL, " ") == 0)
  2669. {
  2670. strcpy(chargeL, ", Eluding Police On Foot");
  2671. }
  2672. else if (strcmp(chargeM, " ") == 0)
  2673. {
  2674. strcpy(chargeM, ", Eluding Police On Foot");
  2675. }
  2676. else if (strcmp(chargeN, " ") == 0)
  2677. {
  2678. strcpy(chargeN, ", Eluding Police On Foot");
  2679. }
  2680. else if (strcmp(chargeO, " ") == 0)
  2681. {
  2682. strcpy(chargeO, ", Eluding Police On Foot");
  2683. }
  2684. *ptr_fine = *ptr_fine + 500;
  2685. *ptr_jailTime = *ptr_jailTime + 10;
  2686. break;
  2687.  
  2688. case 17:
  2689. //Resisting Arrest
  2690. if (strcmp(chargeA, " ") == 0)
  2691. {
  2692. strcpy(chargeA, "Resisting Arrest");
  2693. }
  2694. else if (strcmp(chargeB, " ") == 0)
  2695. {
  2696. strcpy(chargeB, ", Resisting Arrest");
  2697. }
  2698. else if (strcmp(chargeC, " ") == 0)
  2699. {
  2700. strcpy(chargeC, ", Resisting Arrest");
  2701. }
  2702. else if (strcmp(chargeD, " ") == 0)
  2703. {
  2704. strcpy(chargeD, ", Resisting Arrest");
  2705. }
  2706. else if (strcmp(chargeE, " ") == 0)
  2707. {
  2708. strcpy(chargeE, ", Resisting Arrest");
  2709. }
  2710. else if (strcmp(chargeF, " ") == 0)
  2711. {
  2712. strcpy(chargeF, ", Resisting Arrest");
  2713. }
  2714. else if (strcmp(chargeG, " ") == 0)
  2715. {
  2716. strcpy(chargeG, ", Resisting Arrest");
  2717. }
  2718. else if (strcmp(chargeH, " ") == 0)
  2719. {
  2720. strcpy(chargeH, ", Resisting Arrest");
  2721. }
  2722. else if (strcmp(chargeI, " ") == 0)
  2723. {
  2724. strcpy(chargeI, ", Resisting Arrest");
  2725. }
  2726. else if (strcmp(chargeJ, " ") == 0)
  2727. {
  2728. strcpy(chargeJ, ", Resisting Arrest");
  2729. }
  2730. else if (strcmp(chargeK, " ") == 0)
  2731. {
  2732. strcpy(chargeK, ", Resisting Arrest");
  2733. }
  2734. else if (strcmp(chargeL, " ") == 0)
  2735. {
  2736. strcpy(chargeL, ", Resisting Arrest");
  2737. }
  2738. else if (strcmp(chargeM, " ") == 0)
  2739. {
  2740. strcpy(chargeM, ", Resisting Arrest");
  2741. }
  2742. else if (strcmp(chargeN, " ") == 0)
  2743. {
  2744. strcpy(chargeN, ", Resisting Arrest");
  2745. }
  2746. else if (strcmp(chargeO, " ") == 0)
  2747. {
  2748. strcpy(chargeO, ", Resisting Arrest");
  2749. }
  2750. *ptr_fine = *ptr_fine + 1000;
  2751. *ptr_jailTime = *ptr_jailTime + 10;
  2752. break;
  2753.  
  2754. case 18:
  2755. //Animal Abuse
  2756. if (strcmp(chargeA, " ") == 0)
  2757. {
  2758. strcpy(chargeA, "Animal Abuse");
  2759. }
  2760. else if (strcmp(chargeB, " ") == 0)
  2761. {
  2762. strcpy(chargeB, ", Animal Abuse");
  2763. }
  2764. else if (strcmp(chargeC, " ") == 0)
  2765. {
  2766. strcpy(chargeC, ", Animal Abuse");
  2767. }
  2768. else if (strcmp(chargeD, " ") == 0)
  2769. {
  2770. strcpy(chargeD, ", Animal Abuse");
  2771. }
  2772. else if (strcmp(chargeE, " ") == 0)
  2773. {
  2774. strcpy(chargeE, ", Animal Abuse");
  2775. }
  2776. else if (strcmp(chargeF, " ") == 0)
  2777. {
  2778. strcpy(chargeF, ", Animal Abuse");
  2779. }
  2780. else if (strcmp(chargeG, " ") == 0)
  2781. {
  2782. strcpy(chargeG, ", Animal Abuse");
  2783. }
  2784. else if (strcmp(chargeH, " ") == 0)
  2785. {
  2786. strcpy(chargeH, ", Animal Abuse");
  2787. }
  2788. else if (strcmp(chargeI, " ") == 0)
  2789. {
  2790. strcpy(chargeI, ", Animal Abuse");
  2791. }
  2792. else if (strcmp(chargeJ, " ") == 0)
  2793. {
  2794. strcpy(chargeJ, ", Animal Abuse");
  2795. }
  2796. else if (strcmp(chargeK, " ") == 0)
  2797. {
  2798. strcpy(chargeK, ", Animal Abuse");
  2799. }
  2800. else if (strcmp(chargeL, " ") == 0)
  2801. {
  2802. strcpy(chargeL, ", Animal Abuse");
  2803. }
  2804. else if (strcmp(chargeM, " ") == 0)
  2805. {
  2806. strcpy(chargeM, ", Animal Abuse");
  2807. }
  2808. else if (strcmp(chargeN, " ") == 0)
  2809. {
  2810. strcpy(chargeN, ", Animal Abuse");
  2811. }
  2812. else if (strcmp(chargeO, " ") == 0)
  2813. {
  2814. strcpy(chargeO, ", Animal Abuse");
  2815. }
  2816. *ptr_fine = *ptr_fine + 500;
  2817. *ptr_jailTime = *ptr_jailTime + 5;
  2818. break;
  2819.  
  2820. case 19:
  2821. //Misuse of 911
  2822. if (strcmp(chargeA, " ") == 0)
  2823. {
  2824. strcpy(chargeA, "Misuse of 911");
  2825. }
  2826. else if (strcmp(chargeB, " ") == 0)
  2827. {
  2828. strcpy(chargeB, ", Misuse of 911");
  2829. }
  2830. else if (strcmp(chargeC, " ") == 0)
  2831. {
  2832. strcpy(chargeC, ", Misuse of 911");
  2833. }
  2834. else if (strcmp(chargeD, " ") == 0)
  2835. {
  2836. strcpy(chargeD, ", Misuse of 911");
  2837. }
  2838. else if (strcmp(chargeE, " ") == 0)
  2839. {
  2840. strcpy(chargeE, ", Misuse of 911");
  2841. }
  2842. else if (strcmp(chargeF, " ") == 0)
  2843. {
  2844. strcpy(chargeF, ", Misuse of 911");
  2845. }
  2846. else if (strcmp(chargeG, " ") == 0)
  2847. {
  2848. strcpy(chargeG, ", Misuse of 911");
  2849. }
  2850. else if (strcmp(chargeH, " ") == 0)
  2851. {
  2852. strcpy(chargeH, ", Misuse of 911");
  2853. }
  2854. else if (strcmp(chargeI, " ") == 0)
  2855. {
  2856. strcpy(chargeI, ", Misuse of 911");
  2857. }
  2858. else if (strcmp(chargeJ, " ") == 0)
  2859. {
  2860. strcpy(chargeJ, ", Misuse of 911");
  2861. }
  2862. else if (strcmp(chargeK, " ") == 0)
  2863. {
  2864. strcpy(chargeK, ", Misuse of 911");
  2865. }
  2866. else if (strcmp(chargeL, " ") == 0)
  2867. {
  2868. strcpy(chargeL, ", Misuse of 911");
  2869. }
  2870. else if (strcmp(chargeM, " ") == 0)
  2871. {
  2872. strcpy(chargeM, ", Misuse of 911");
  2873. }
  2874. else if (strcmp(chargeN, " ") == 0)
  2875. {
  2876. strcpy(chargeN, ", Misuse of 911");
  2877. }
  2878. else if (strcmp(chargeO, " ") == 0)
  2879. {
  2880. strcpy(chargeO, ", Misuse of 911");
  2881. }
  2882. *ptr_fine = *ptr_fine + 1000;
  2883. *ptr_jailTime = *ptr_jailTime + 15;
  2884. break;
  2885.  
  2886. case 20:
  2887. //Bribery
  2888. if (strcmp(chargeA, " ") == 0)
  2889. {
  2890. strcpy(chargeA, "Bribery");
  2891. }
  2892. else if (strcmp(chargeB, " ") == 0)
  2893. {
  2894. strcpy(chargeB, ", Bribery");
  2895. }
  2896. else if (strcmp(chargeC, " ") == 0)
  2897. {
  2898. strcpy(chargeC, ", Bribery");
  2899. }
  2900. else if (strcmp(chargeD, " ") == 0)
  2901. {
  2902. strcpy(chargeD, ", Bribery");
  2903. }
  2904. else if (strcmp(chargeE, " ") == 0)
  2905. {
  2906. strcpy(chargeE, ", Bribery");
  2907. }
  2908. else if (strcmp(chargeF, " ") == 0)
  2909. {
  2910. strcpy(chargeF, ", Bribery");
  2911. }
  2912. else if (strcmp(chargeG, " ") == 0)
  2913. {
  2914. strcpy(chargeG, ", Bribery");
  2915. }
  2916. else if (strcmp(chargeH, " ") == 0)
  2917. {
  2918. strcpy(chargeH, ", Bribery");
  2919. }
  2920. else if (strcmp(chargeI, " ") == 0)
  2921. {
  2922. strcpy(chargeI, ", Bribery");
  2923. }
  2924. else if (strcmp(chargeJ, " ") == 0)
  2925. {
  2926. strcpy(chargeJ, ", Bribery");
  2927. }
  2928. else if (strcmp(chargeK, " ") == 0)
  2929. {
  2930. strcpy(chargeK, ", Bribery");
  2931. }
  2932. else if (strcmp(chargeL, " ") == 0)
  2933. {
  2934. strcpy(chargeL, ", Bribery");
  2935. }
  2936. else if (strcmp(chargeM, " ") == 0)
  2937. {
  2938. strcpy(chargeM, ", Bribery");
  2939. }
  2940. else if (strcmp(chargeN, " ") == 0)
  2941. {
  2942. strcpy(chargeN, ", Bribery");
  2943. }
  2944. else if (strcmp(chargeO, " ") == 0)
  2945. {
  2946. strcpy(chargeO, ", Bribery");
  2947. }
  2948. *ptr_fine = *ptr_fine + 250;
  2949. *ptr_jailTime = *ptr_jailTime + 5;
  2950. break;
  2951.  
  2952. case 21:
  2953. //Contempt of Court
  2954. if (strcmp(chargeA, " ") == 0)
  2955. {
  2956. strcpy(chargeA, "Contempt of Court");
  2957. }
  2958. else if (strcmp(chargeB, " ") == 0)
  2959. {
  2960. strcpy(chargeB, ", Contempt of Court");
  2961. }
  2962. else if (strcmp(chargeC, " ") == 0)
  2963. {
  2964. strcpy(chargeC, ", Contempt of Court");
  2965. }
  2966. else if (strcmp(chargeD, " ") == 0)
  2967. {
  2968. strcpy(chargeD, ", Contempt of Court");
  2969. }
  2970. else if (strcmp(chargeE, " ") == 0)
  2971. {
  2972. strcpy(chargeE, ", Contempt of Court");
  2973. }
  2974. else if (strcmp(chargeF, " ") == 0)
  2975. {
  2976. strcpy(chargeF, ", Contempt of Court");
  2977. }
  2978. else if (strcmp(chargeG, " ") == 0)
  2979. {
  2980. strcpy(chargeG, ", Contempt of Court");
  2981. }
  2982. else if (strcmp(chargeH, " ") == 0)
  2983. {
  2984. strcpy(chargeH, ", Contempt of Court");
  2985. }
  2986. else if (strcmp(chargeI, " ") == 0)
  2987. {
  2988. strcpy(chargeI, ", Contempt of Court");
  2989. }
  2990. else if (strcmp(chargeJ, " ") == 0)
  2991. {
  2992. strcpy(chargeJ, ", Contempt of Court");
  2993. }
  2994. else if (strcmp(chargeK, " ") == 0)
  2995. {
  2996. strcpy(chargeK, ", Contempt of Court");
  2997. }
  2998. else if (strcmp(chargeL, " ") == 0)
  2999. {
  3000. strcpy(chargeL, ", Contempt of Court");
  3001. }
  3002. else if (strcmp(chargeM, " ") == 0)
  3003. {
  3004. strcpy(chargeM, ", Contempt of Court");
  3005. }
  3006. else if (strcmp(chargeN, " ") == 0)
  3007. {
  3008. strcpy(chargeN, ", Contempt of Court");
  3009. }
  3010. else if (strcmp(chargeO, " ") == 0)
  3011. {
  3012. strcpy(chargeO, ", Contempt of Court");
  3013. }
  3014. *ptr_fine = *ptr_fine + 500;
  3015. *ptr_jailTime = *ptr_jailTime + 10;
  3016. break;
  3017.  
  3018. case 22:
  3019. //Tampering With Evidence
  3020. if (strcmp(chargeA, " ") == 0)
  3021. {
  3022. strcpy(chargeA, "Tampering With Evidence");
  3023. }
  3024. else if (strcmp(chargeB, " ") == 0)
  3025. {
  3026. strcpy(chargeB, ", Tampering With Evidence");
  3027. }
  3028. else if (strcmp(chargeC, " ") == 0)
  3029. {
  3030. strcpy(chargeC, ", Tampering With Evidence");
  3031. }
  3032. else if (strcmp(chargeD, " ") == 0)
  3033. {
  3034. strcpy(chargeD, ", Tampering With Evidence");
  3035. }
  3036. else if (strcmp(chargeE, " ") == 0)
  3037. {
  3038. strcpy(chargeE, ", Tampering With Evidence");
  3039. }
  3040. else if (strcmp(chargeF, " ") == 0)
  3041. {
  3042. strcpy(chargeF, ", Tampering With Evidence");
  3043. }
  3044. else if (strcmp(chargeG, " ") == 0)
  3045. {
  3046. strcpy(chargeG, ", Tampering With Evidence");
  3047. }
  3048. else if (strcmp(chargeH, " ") == 0)
  3049. {
  3050. strcpy(chargeH, ", Tampering With Evidence");
  3051. }
  3052. else if (strcmp(chargeI, " ") == 0)
  3053. {
  3054. strcpy(chargeI, ", Tampering With Evidence");
  3055. }
  3056. else if (strcmp(chargeJ, " ") == 0)
  3057. {
  3058. strcpy(chargeJ, ", Tampering With Evidence");
  3059. }
  3060. else if (strcmp(chargeK, " ") == 0)
  3061. {
  3062. strcpy(chargeK, ", Tampering With Evidence");
  3063. }
  3064. else if (strcmp(chargeL, " ") == 0)
  3065. {
  3066. strcpy(chargeL, ", Tampering With Evidence");
  3067. }
  3068. else if (strcmp(chargeM, " ") == 0)
  3069. {
  3070. strcpy(chargeM, ", Tampering With Evidence");
  3071. }
  3072. else if (strcmp(chargeN, " ") == 0)
  3073. {
  3074. strcpy(chargeN, ", Tampering With Evidence");
  3075. }
  3076. else if (strcmp(chargeO, " ") == 0)
  3077. {
  3078. strcpy(chargeO, ", Tampering With Evidence");
  3079. }
  3080. *ptr_fine = *ptr_fine + 500;
  3081. *ptr_jailTime = *ptr_jailTime + 7;
  3082. break;
  3083.  
  3084. case 23:
  3085. //Extortion
  3086. if (strcmp(chargeA, " ") == 0)
  3087. {
  3088. strcpy(chargeA, "Extortion");
  3089. }
  3090. else if (strcmp(chargeB, " ") == 0)
  3091. {
  3092. strcpy(chargeB, ", Extortion");
  3093. }
  3094. else if (strcmp(chargeC, " ") == 0)
  3095. {
  3096. strcpy(chargeC, ", Extortion");
  3097. }
  3098. else if (strcmp(chargeD, " ") == 0)
  3099. {
  3100. strcpy(chargeD, ", Extortion");
  3101. }
  3102. else if (strcmp(chargeE, " ") == 0)
  3103. {
  3104. strcpy(chargeE, ", Extortion");
  3105. }
  3106. else if (strcmp(chargeF, " ") == 0)
  3107. {
  3108. strcpy(chargeF, ", Extortion");
  3109. }
  3110. else if (strcmp(chargeG, " ") == 0)
  3111. {
  3112. strcpy(chargeG, ", Extortion");
  3113. }
  3114. else if (strcmp(chargeH, " ") == 0)
  3115. {
  3116. strcpy(chargeH, ", Extortion");
  3117. }
  3118. else if (strcmp(chargeI, " ") == 0)
  3119. {
  3120. strcpy(chargeI, ", Extortion");
  3121. }
  3122. else if (strcmp(chargeJ, " ") == 0)
  3123. {
  3124. strcpy(chargeJ, ", Extortion");
  3125. }
  3126. else if (strcmp(chargeK, " ") == 0)
  3127. {
  3128. strcpy(chargeK, ", Extortion");
  3129. }
  3130. else if (strcmp(chargeL, " ") == 0)
  3131. {
  3132. strcpy(chargeL, ", Extortion");
  3133. }
  3134. else if (strcmp(chargeM, " ") == 0)
  3135. {
  3136. strcpy(chargeM, ", Extortion");
  3137. }
  3138. else if (strcmp(chargeN, " ") == 0)
  3139. {
  3140. strcpy(chargeN, ", Extortion");
  3141. }
  3142. else if (strcmp(chargeO, " ") == 0)
  3143. {
  3144. strcpy(chargeO, ", Extortion");
  3145. }
  3146. *ptr_fine = *ptr_fine + 250;
  3147. *ptr_jailTime = *ptr_jailTime + 5;
  3148. break;
  3149.  
  3150. case 24:
  3151. //Failure To Provide Drivers License
  3152. if (strcmp(chargeA, " ") == 0)
  3153. {
  3154. strcpy(chargeA, "Failure To Provide Drivers License");
  3155. }
  3156. else if (strcmp(chargeB, " ") == 0)
  3157. {
  3158. strcpy(chargeB, ", Failure To Provide Drivers License");
  3159. }
  3160. else if (strcmp(chargeC, " ") == 0)
  3161. {
  3162. strcpy(chargeC, ", Failure To Provide Drivers License");
  3163. }
  3164. else if (strcmp(chargeD, " ") == 0)
  3165. {
  3166. strcpy(chargeD, ", Failure To Provide Drivers License");
  3167. }
  3168. else if (strcmp(chargeE, " ") == 0)
  3169. {
  3170. strcpy(chargeE, ", Failure To Provide Drivers License");
  3171. }
  3172. else if (strcmp(chargeF, " ") == 0)
  3173. {
  3174. strcpy(chargeF, ", Failure To Provide Drivers License");
  3175. }
  3176. else if (strcmp(chargeG, " ") == 0)
  3177. {
  3178. strcpy(chargeG, ", Failure To Provide Drivers License");
  3179. }
  3180. else if (strcmp(chargeH, " ") == 0)
  3181. {
  3182. strcpy(chargeH, ", Failure To Provide Drivers License");
  3183. }
  3184. else if (strcmp(chargeI, " ") == 0)
  3185. {
  3186. strcpy(chargeI, ", Failure To Provide Drivers License");
  3187. }
  3188. else if (strcmp(chargeJ, " ") == 0)
  3189. {
  3190. strcpy(chargeJ, ", Failure To Provide Drivers License");
  3191. }
  3192. else if (strcmp(chargeK, " ") == 0)
  3193. {
  3194. strcpy(chargeK, ", Failure To Provide Drivers License");
  3195. }
  3196. else if (strcmp(chargeL, " ") == 0)
  3197. {
  3198. strcpy(chargeL, ", Failure To Provide Drivers License");
  3199. }
  3200. else if (strcmp(chargeM, " ") == 0)
  3201. {
  3202. strcpy(chargeM, ", Failure To Provide Drivers License");
  3203. }
  3204. else if (strcmp(chargeN, " ") == 0)
  3205. {
  3206. strcpy(chargeN, ", Failure To Provide Drivers License");
  3207. }
  3208. else if (strcmp(chargeO, " ") == 0)
  3209. {
  3210. strcpy(chargeO, ", Failure To Provide Drivers License");
  3211. }
  3212. *ptr_fine = *ptr_fine + 100;
  3213. *ptr_jailTime = *ptr_jailTime + 2;
  3214. break;
  3215.  
  3216. case 25:
  3217. //Level 1 Illegal Weapon
  3218. if (strcmp(chargeA, " ") == 0)
  3219. {
  3220. strcpy(chargeA, "Level 1 Illegal Weapon");
  3221. }
  3222. else if (strcmp(chargeB, " ") == 0)
  3223. {
  3224. strcpy(chargeB, ", Level 1 Illegal Weapon");
  3225. }
  3226. else if (strcmp(chargeC, " ") == 0)
  3227. {
  3228. strcpy(chargeC, ", Level 1 Illegal Weapon");
  3229. }
  3230. else if (strcmp(chargeD, " ") == 0)
  3231. {
  3232. strcpy(chargeD, ", Level 1 Illegal Weapon");
  3233. }
  3234. else if (strcmp(chargeE, " ") == 0)
  3235. {
  3236. strcpy(chargeE, ", Level 1 Illegal Weapon");
  3237. }
  3238. else if (strcmp(chargeF, " ") == 0)
  3239. {
  3240. strcpy(chargeF, ", Level 1 Illegal Weapon");
  3241. }
  3242. else if (strcmp(chargeG, " ") == 0)
  3243. {
  3244. strcpy(chargeG, ", Level 1 Illegal Weapon");
  3245. }
  3246. else if (strcmp(chargeH, " ") == 0)
  3247. {
  3248. strcpy(chargeH, ", Level 1 Illegal Weapon");
  3249. }
  3250. else if (strcmp(chargeI, " ") == 0)
  3251. {
  3252. strcpy(chargeI, ", Level 1 Illegal Weapon");
  3253. }
  3254. else if (strcmp(chargeJ, " ") == 0)
  3255. {
  3256. strcpy(chargeJ, ", Level 1 Illegal Weapon");
  3257. }
  3258. else if (strcmp(chargeK, " ") == 0)
  3259. {
  3260. strcpy(chargeK, ", Level 1 Illegal Weapon");
  3261. }
  3262. else if (strcmp(chargeL, " ") == 0)
  3263. {
  3264. strcpy(chargeL, ", Level 1 Illegal Weapon");
  3265. }
  3266. else if (strcmp(chargeM, " ") == 0)
  3267. {
  3268. strcpy(chargeM, ", Level 1 Illegal Weapon");
  3269. }
  3270. else if (strcmp(chargeN, " ") == 0)
  3271. {
  3272. strcpy(chargeN, ", Level 1 Illegal Weapon");
  3273. }
  3274. else if (strcmp(chargeO, " ") == 0)
  3275. {
  3276. strcpy(chargeO, ", Level 1 Illegal Weapon");
  3277. }
  3278. *ptr_fine = *ptr_fine + 1000;
  3279. *ptr_jailTime = *ptr_jailTime + 15;
  3280. break;
  3281.  
  3282. case 26:
  3283. //Level 2 Illegal Weapon
  3284. if (strcmp(chargeA, " ") == 0)
  3285. {
  3286. strcpy(chargeA, "Level 2 Illegal Weapon");
  3287. }
  3288. else if (strcmp(chargeB, " ") == 0)
  3289. {
  3290. strcpy(chargeB, ", Level 2 Illegal Weapon");
  3291. }
  3292. else if (strcmp(chargeC, " ") == 0)
  3293. {
  3294. strcpy(chargeC, ", Level 2 Illegal Weapon");
  3295. }
  3296. else if (strcmp(chargeD, " ") == 0)
  3297. {
  3298. strcpy(chargeD, ", Level 2 Illegal Weapon");
  3299. }
  3300. else if (strcmp(chargeE, " ") == 0)
  3301. {
  3302. strcpy(chargeE, ", Level 2 Illegal Weapon");
  3303. }
  3304. else if (strcmp(chargeF, " ") == 0)
  3305. {
  3306. strcpy(chargeF, ", Level 2 Illegal Weapon");
  3307. }
  3308. else if (strcmp(chargeG, " ") == 0)
  3309. {
  3310. strcpy(chargeG, ", Level 2 Illegal Weapon");
  3311. }
  3312. else if (strcmp(chargeH, " ") == 0)
  3313. {
  3314. strcpy(chargeH, ", Level 2 Illegal Weapon");
  3315. }
  3316. else if (strcmp(chargeI, " ") == 0)
  3317. {
  3318. strcpy(chargeI, ", Level 2 Illegal Weapon");
  3319. }
  3320. else if (strcmp(chargeJ, " ") == 0)
  3321. {
  3322. strcpy(chargeJ, ", Level 2 Illegal Weapon");
  3323. }
  3324. else if (strcmp(chargeK, " ") == 0)
  3325. {
  3326. strcpy(chargeK, ", Level 2 Illegal Weapon");
  3327. }
  3328. else if (strcmp(chargeL, " ") == 0)
  3329. {
  3330. strcpy(chargeL, ", Level 2 Illegal Weapon");
  3331. }
  3332. else if (strcmp(chargeM, " ") == 0)
  3333. {
  3334. strcpy(chargeM, ", Level 2 Illegal Weapon");
  3335. }
  3336. else if (strcmp(chargeN, " ") == 0)
  3337. {
  3338. strcpy(chargeN, ", Level 2 Illegal Weapon");
  3339. }
  3340. else if (strcmp(chargeO, " ") == 0)
  3341. {
  3342. strcpy(chargeO, ", Level 2 Illegal Weapon");
  3343. }
  3344. *ptr_fine = *ptr_fine + 3000;
  3345. *ptr_jailTime = *ptr_jailTime + 20;
  3346. break;
  3347. case 0:
  3348.  
  3349. break;
  3350.  
  3351. default:printf("\n\n\n\t\t Choose options 0-26! ");
  3352. break;
  3353. }
  3354. } while (choice);
  3355. }
  3356. 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])
  3357. {
  3358. int dirtyMoney = 0;
  3359. int choice;
  3360. do
  3361. {
  3362. printf(
  3363. "\n\n\n\t\t --FELONYS--"
  3364. "\n 1. Stalking"
  3365. "\n 2. Forcible Confinement of A Resident"
  3366. "\n 3. Forcible Confinement of A City Worker"
  3367. "\n 4. Reckless Driving While Evading"
  3368. "\n 5. Possession of A Stolen Vehicle"
  3369. "\n 6. Aggravated Assault"
  3370. "\n 7. Assault On A City Worker"
  3371. "\n 8. Attempted Murder of A Civilian"
  3372. "\n 9. Attempted Murder of A City Worker"
  3373. "\n 10. Manslaughter"
  3374. "\n 11. Unarmed Robbery"
  3375. "\n 12. Armed Robbery"
  3376. "\n 13. Drug Trafficking"
  3377. "\n 14. Intent To Distribute"
  3378. "\n 15. Possesion of Dirty Money"
  3379. "\n 16. Failure To Appear"
  3380. "\n 17. Level 3 Illegal Weapon"
  3381. "\n 18. Unarmed GTA"
  3382. "\n 19. Armed GTA"
  3383. "\n 0. GO BACK"
  3384. "\n\n Enter Your Selection: ");
  3385. scanf("%d", &choice);
  3386. switch (choice)
  3387. {
  3388. case 1:
  3389. //Stalking
  3390. if (strcmp(chargeA, " ") == 0)
  3391. {
  3392. strcpy(chargeA, "Stalking");
  3393. }
  3394. else if (strcmp(chargeB, " ") == 0)
  3395. {
  3396. strcpy(chargeB, ", Stalking");
  3397. }
  3398. else if (strcmp(chargeC, " ") == 0)
  3399. {
  3400. strcpy(chargeC, ", Stalking");
  3401. }
  3402. else if (strcmp(chargeD, " ") == 0)
  3403. {
  3404. strcpy(chargeD, ", Stalking");
  3405. }
  3406. else if (strcmp(chargeE, " ") == 0)
  3407. {
  3408. strcpy(chargeE, ", Stalking");
  3409. }
  3410. else if (strcmp(chargeF, " ") == 0)
  3411. {
  3412. strcpy(chargeF, ", Stalking");
  3413. }
  3414. else if (strcmp(chargeG, " ") == 0)
  3415. {
  3416. strcpy(chargeG, ", Stalking");
  3417. }
  3418. else if (strcmp(chargeH, " ") == 0)
  3419. {
  3420. strcpy(chargeH, ", Stalking");
  3421. }
  3422. else if (strcmp(chargeI, " ") == 0)
  3423. {
  3424. strcpy(chargeI, ", Stalking");
  3425. }
  3426. else if (strcmp(chargeJ, " ") == 0)
  3427. {
  3428. strcpy(chargeJ, ", Stalking");
  3429. }
  3430. else if (strcmp(chargeK, " ") == 0)
  3431. {
  3432. strcpy(chargeK, ", Stalking");
  3433. }
  3434. else if (strcmp(chargeL, " ") == 0)
  3435. {
  3436. strcpy(chargeL, ", Stalking");
  3437. }
  3438. else if (strcmp(chargeM, " ") == 0)
  3439. {
  3440. strcpy(chargeM, ", Stalking");
  3441. }
  3442. else if (strcmp(chargeN, " ") == 0)
  3443. {
  3444. strcpy(chargeN, ", Stalking");
  3445. }
  3446. else if (strcmp(chargeO, " ") == 0)
  3447. {
  3448. strcpy(chargeO, ", Stalking");
  3449. }
  3450. *ptr_fine = *ptr_fine + 5000;
  3451. *ptr_jailTime = *ptr_jailTime + 10;
  3452. break;
  3453. case 2:
  3454. //Forcible Confinement of A Resident
  3455. if (strcmp(chargeA, " ") == 0)
  3456. {
  3457. strcpy(chargeA, "Forcible Confinement of A Resident");
  3458. }
  3459. else if (strcmp(chargeB, " ") == 0)
  3460. {
  3461. strcpy(chargeB, ", Forcible Confinement of A Resident");
  3462. }
  3463. else if (strcmp(chargeC, " ") == 0)
  3464. {
  3465. strcpy(chargeC, ", Forcible Confinement of A Resident");
  3466. }
  3467. else if (strcmp(chargeD, " ") == 0)
  3468. {
  3469. strcpy(chargeD, ", Forcible Confinement of A Resident");
  3470. }
  3471. else if (strcmp(chargeE, " ") == 0)
  3472. {
  3473. strcpy(chargeE, ", Forcible Confinement of A Resident");
  3474. }
  3475. else if (strcmp(chargeF, " ") == 0)
  3476. {
  3477. strcpy(chargeF, ", Forcible Confinement of A Resident");
  3478. }
  3479. else if (strcmp(chargeG, " ") == 0)
  3480. {
  3481. strcpy(chargeG, ", Forcible Confinement of A Resident");
  3482. }
  3483. else if (strcmp(chargeH, " ") == 0)
  3484. {
  3485. strcpy(chargeH, ", Forcible Confinement of A Resident");
  3486. }
  3487. else if (strcmp(chargeI, " ") == 0)
  3488. {
  3489. strcpy(chargeI, ", Forcible Confinement of A Resident");
  3490. }
  3491. else if (strcmp(chargeJ, " ") == 0)
  3492. {
  3493. strcpy(chargeJ, ", Forcible Confinement of A Resident");
  3494. }
  3495. else if (strcmp(chargeK, " ") == 0)
  3496. {
  3497. strcpy(chargeK, ", Forcible Confinement of A Resident");
  3498. }
  3499. else if (strcmp(chargeL, " ") == 0)
  3500. {
  3501. strcpy(chargeL, ", Forcible Confinement of A Resident");
  3502. }
  3503. else if (strcmp(chargeM, " ") == 0)
  3504. {
  3505. strcpy(chargeM, ", Forcible Confinement of A Resident");
  3506. }
  3507. else if (strcmp(chargeN, " ") == 0)
  3508. {
  3509. strcpy(chargeN, ", Forcible Confinement of A Resident");
  3510. }
  3511. else if (strcmp(chargeO, " ") == 0)
  3512. {
  3513. strcpy(chargeO, ", Forcible Confinement of A Resident");
  3514. }
  3515. *ptr_fine = *ptr_fine + 5000;
  3516. *ptr_jailTime = *ptr_jailTime + 15;
  3517. break;
  3518.  
  3519. case 3:
  3520. //Forcible Confinement of A City Worker
  3521. if (strcmp(chargeA, " ") == 0)
  3522. {
  3523. strcpy(chargeA, "Forcible Confinement of A City Worker");
  3524. }
  3525. else if (strcmp(chargeB, " ") == 0)
  3526. {
  3527. strcpy(chargeB, ", Forcible Confinement of A City Worker");
  3528. }
  3529. else if (strcmp(chargeC, " ") == 0)
  3530. {
  3531. strcpy(chargeC, ", Forcible Confinement of A City Worker");
  3532. }
  3533. else if (strcmp(chargeD, " ") == 0)
  3534. {
  3535. strcpy(chargeD, ", Forcible Confinement of A City Worker");
  3536. }
  3537. else if (strcmp(chargeE, " ") == 0)
  3538. {
  3539. strcpy(chargeE, ", Forcible Confinement of A City Worker");
  3540. }
  3541. else if (strcmp(chargeF, " ") == 0)
  3542. {
  3543. strcpy(chargeF, ", Forcible Confinement of A City Worker");
  3544. }
  3545. else if (strcmp(chargeG, " ") == 0)
  3546. {
  3547. strcpy(chargeG, ", Forcible Confinement of A City Worker");
  3548. }
  3549. else if (strcmp(chargeH, " ") == 0)
  3550. {
  3551. strcpy(chargeH, ", Forcible Confinement of A City Worker");
  3552. }
  3553. else if (strcmp(chargeI, " ") == 0)
  3554. {
  3555. strcpy(chargeI, ", Forcible Confinement of A City Worker");
  3556. }
  3557. else if (strcmp(chargeJ, " ") == 0)
  3558. {
  3559. strcpy(chargeJ, ", Forcible Confinement of A City Worker");
  3560. }
  3561. else if (strcmp(chargeK, " ") == 0)
  3562. {
  3563. strcpy(chargeK, ", Forcible Confinement of A City Worker");
  3564. }
  3565. else if (strcmp(chargeL, " ") == 0)
  3566. {
  3567. strcpy(chargeL, ", Forcible Confinement of A City Worker");
  3568. }
  3569. else if (strcmp(chargeM, " ") == 0)
  3570. {
  3571. strcpy(chargeM, ", Forcible Confinement of A City Worker");
  3572. }
  3573. else if (strcmp(chargeN, " ") == 0)
  3574. {
  3575. strcpy(chargeN, ", Forcible Confinement of A City Worker");
  3576. }
  3577. else if (strcmp(chargeO, " ") == 0)
  3578. {
  3579. strcpy(chargeO, ", Forcible Confinement of A City Worker");
  3580. }
  3581. *ptr_fine = *ptr_fine + 10000;
  3582. *ptr_jailTime = *ptr_jailTime + 25;
  3583. break;
  3584.  
  3585. case 4:
  3586. //Reckless Driving While Evading
  3587. if (strcmp(chargeA, " ") == 0)
  3588. {
  3589. strcpy(chargeA, "Reckless Driving While Evading");
  3590. }
  3591. else if (strcmp(chargeB, " ") == 0)
  3592. {
  3593. strcpy(chargeB, ", Reckless Driving While Evading");
  3594. }
  3595. else if (strcmp(chargeC, " ") == 0)
  3596. {
  3597. strcpy(chargeC, ", Reckless Driving While Evading");
  3598. }
  3599. else if (strcmp(chargeD, " ") == 0)
  3600. {
  3601. strcpy(chargeD, ", Reckless Driving While Evading");
  3602. }
  3603. else if (strcmp(chargeE, " ") == 0)
  3604. {
  3605. strcpy(chargeE, ", Reckless Driving While Evading");
  3606. }
  3607. else if (strcmp(chargeF, " ") == 0)
  3608. {
  3609. strcpy(chargeF, ", Reckless Driving While Evading");
  3610. }
  3611. else if (strcmp(chargeG, " ") == 0)
  3612. {
  3613. strcpy(chargeG, ", Reckless Driving While Evading");
  3614. }
  3615. else if (strcmp(chargeH, " ") == 0)
  3616. {
  3617. strcpy(chargeH, ", Reckless Driving While Evading");
  3618. }
  3619. else if (strcmp(chargeI, " ") == 0)
  3620. {
  3621. strcpy(chargeI, ", Reckless Driving While Evading");
  3622. }
  3623. else if (strcmp(chargeJ, " ") == 0)
  3624. {
  3625. strcpy(chargeJ, ", Reckless Driving While Evading");
  3626. }
  3627. else if (strcmp(chargeK, " ") == 0)
  3628. {
  3629. strcpy(chargeK, ", Reckless Driving While Evading");
  3630. }
  3631. else if (strcmp(chargeL, " ") == 0)
  3632. {
  3633. strcpy(chargeL, ", Reckless Driving While Evading");
  3634. }
  3635. else if (strcmp(chargeM, " ") == 0)
  3636. {
  3637. strcpy(chargeM, ", Reckless Driving While Evading");
  3638. }
  3639. else if (strcmp(chargeN, " ") == 0)
  3640. {
  3641. strcpy(chargeN, ", Reckless Driving While Evading");
  3642. }
  3643. else if (strcmp(chargeO, " ") == 0)
  3644. {
  3645. strcpy(chargeO, ", Reckless Driving While Evading");
  3646. }
  3647. *ptr_fine = *ptr_fine + 1500;
  3648. *ptr_jailTime = *ptr_jailTime + 15;
  3649. break;
  3650.  
  3651. case 5:
  3652. //Possession of A Stolen Vehicle
  3653. if (strcmp(chargeA, " ") == 0)
  3654. {
  3655. strcpy(chargeA, "Possession of A Stolen Vehicle");
  3656. }
  3657. else if (strcmp(chargeB, " ") == 0)
  3658. {
  3659. strcpy(chargeB, ", Possession of A Stolen Vehicle");
  3660. }
  3661. else if (strcmp(chargeC, " ") == 0)
  3662. {
  3663. strcpy(chargeC, ", Possession of A Stolen Vehicle");
  3664. }
  3665. else if (strcmp(chargeD, " ") == 0)
  3666. {
  3667. strcpy(chargeD, ", Possession of A Stolen Vehicle");
  3668. }
  3669. else if (strcmp(chargeE, " ") == 0)
  3670. {
  3671. strcpy(chargeE, ", Possession of A Stolen Vehicle");
  3672. }
  3673. else if (strcmp(chargeF, " ") == 0)
  3674. {
  3675. strcpy(chargeF, ", Possession of A Stolen Vehicle");
  3676. }
  3677. else if (strcmp(chargeG, " ") == 0)
  3678. {
  3679. strcpy(chargeG, ", Possession of A Stolen Vehicle");
  3680. }
  3681. else if (strcmp(chargeH, " ") == 0)
  3682. {
  3683. strcpy(chargeH, ", Possession of A Stolen Vehicle");
  3684. }
  3685. else if (strcmp(chargeI, " ") == 0)
  3686. {
  3687. strcpy(chargeI, ", Possession of A Stolen Vehicle");
  3688. }
  3689. else if (strcmp(chargeJ, " ") == 0)
  3690. {
  3691. strcpy(chargeJ, ", Possession of A Stolen Vehicle");
  3692. }
  3693. else if (strcmp(chargeK, " ") == 0)
  3694. {
  3695. strcpy(chargeK, ", Possession of A Stolen Vehicle");
  3696. }
  3697. else if (strcmp(chargeL, " ") == 0)
  3698. {
  3699. strcpy(chargeL, ", Possession of A Stolen Vehicle");
  3700. }
  3701. else if (strcmp(chargeM, " ") == 0)
  3702. {
  3703. strcpy(chargeM, ", Possession of A Stolen Vehicle");
  3704. }
  3705. else if (strcmp(chargeN, " ") == 0)
  3706. {
  3707. strcpy(chargeN, ", Possession of A Stolen Vehicle");
  3708. }
  3709. else if (strcmp(chargeO, " ") == 0)
  3710. {
  3711. strcpy(chargeO, ", Possession of A Stolen Vehicle");
  3712. }
  3713. *ptr_fine = *ptr_fine + 5000;
  3714. *ptr_jailTime = *ptr_jailTime + 10;
  3715. break;
  3716.  
  3717. case 6:
  3718. //Aggravated Assault
  3719. if (strcmp(chargeA, " ") == 0)
  3720. {
  3721. strcpy(chargeA, "Aggravated Assault");
  3722. }
  3723. else if (strcmp(chargeB, " ") == 0)
  3724. {
  3725. strcpy(chargeB, ", Aggravated Assault");
  3726. }
  3727. else if (strcmp(chargeC, " ") == 0)
  3728. {
  3729. strcpy(chargeC, ", Aggravated Assault");
  3730. }
  3731. else if (strcmp(chargeD, " ") == 0)
  3732. {
  3733. strcpy(chargeD, ", Aggravated Assault");
  3734. }
  3735. else if (strcmp(chargeE, " ") == 0)
  3736. {
  3737. strcpy(chargeE, ", Aggravated Assault");
  3738. }
  3739. else if (strcmp(chargeF, " ") == 0)
  3740. {
  3741. strcpy(chargeF, ", Aggravated Assault");
  3742. }
  3743. else if (strcmp(chargeG, " ") == 0)
  3744. {
  3745. strcpy(chargeG, ", Aggravated Assault");
  3746. }
  3747. else if (strcmp(chargeH, " ") == 0)
  3748. {
  3749. strcpy(chargeH, ", Aggravated Assault");
  3750. }
  3751. else if (strcmp(chargeI, " ") == 0)
  3752. {
  3753. strcpy(chargeI, ", Aggravated Assault");
  3754. }
  3755. else if (strcmp(chargeJ, " ") == 0)
  3756. {
  3757. strcpy(chargeJ, ", Aggravated Assault");
  3758. }
  3759. else if (strcmp(chargeK, " ") == 0)
  3760. {
  3761. strcpy(chargeK, ", Aggravated Assault");
  3762. }
  3763. else if (strcmp(chargeL, " ") == 0)
  3764. {
  3765. strcpy(chargeL, ", Aggravated Assault");
  3766. }
  3767. else if (strcmp(chargeM, " ") == 0)
  3768. {
  3769. strcpy(chargeM, ", Aggravated Assault");
  3770. }
  3771. else if (strcmp(chargeN, " ") == 0)
  3772. {
  3773. strcpy(chargeN, ", Aggravated Assault");
  3774. }
  3775. else if (strcmp(chargeO, " ") == 0)
  3776. {
  3777. strcpy(chargeO, ", Aggravated Assault");
  3778. }
  3779. *ptr_fine = *ptr_fine + 5000;
  3780. *ptr_jailTime = *ptr_jailTime + 10;
  3781. break;
  3782.  
  3783. case 7:
  3784. //Assault On A City Worker
  3785. if (strcmp(chargeA, " ") == 0)
  3786. {
  3787. strcpy(chargeA, "Assault On A City Worker");
  3788. }
  3789. else if (strcmp(chargeB, " ") == 0)
  3790. {
  3791. strcpy(chargeB, ", Assault On A City Worker");
  3792. }
  3793. else if (strcmp(chargeC, " ") == 0)
  3794. {
  3795. strcpy(chargeC, ", Assault On A City Worker");
  3796. }
  3797. else if (strcmp(chargeD, " ") == 0)
  3798. {
  3799. strcpy(chargeD, ", Assault On A City Worker");
  3800. }
  3801. else if (strcmp(chargeE, " ") == 0)
  3802. {
  3803. strcpy(chargeE, ", Assault On A City Worker");
  3804. }
  3805. else if (strcmp(chargeF, " ") == 0)
  3806. {
  3807. strcpy(chargeF, ", Assault On A City Worker");
  3808. }
  3809. else if (strcmp(chargeG, " ") == 0)
  3810. {
  3811. strcpy(chargeG, ", Assault On A City Worker");
  3812. }
  3813. else if (strcmp(chargeH, " ") == 0)
  3814. {
  3815. strcpy(chargeH, ", Assault On A City Worker");
  3816. }
  3817. else if (strcmp(chargeI, " ") == 0)
  3818. {
  3819. strcpy(chargeI, ", Assault On A City Worker");
  3820. }
  3821. else if (strcmp(chargeJ, " ") == 0)
  3822. {
  3823. strcpy(chargeJ, ", Assault On A City Worker");
  3824. }
  3825. else if (strcmp(chargeK, " ") == 0)
  3826. {
  3827. strcpy(chargeK, ", Assault On A City Worker");
  3828. }
  3829. else if (strcmp(chargeL, " ") == 0)
  3830. {
  3831. strcpy(chargeL, ", Assault On A City Worker");
  3832. }
  3833. else if (strcmp(chargeM, " ") == 0)
  3834. {
  3835. strcpy(chargeM, ", Assault On A City Worker");
  3836. }
  3837. else if (strcmp(chargeN, " ") == 0)
  3838. {
  3839. strcpy(chargeN, ", Assault On A City Worker");
  3840. }
  3841. else if (strcmp(chargeO, " ") == 0)
  3842. {
  3843. strcpy(chargeO, ", Assault On A City Worker");
  3844. }
  3845. *ptr_fine = *ptr_fine + 5000;
  3846. *ptr_jailTime = *ptr_jailTime + 10;
  3847. break;
  3848.  
  3849. case 8:
  3850. //Attempted Murder of A Civilian
  3851. if (strcmp(chargeA, " ") == 0)
  3852. {
  3853. strcpy(chargeA, "Attempted Murder of A Civilian");
  3854. }
  3855. else if (strcmp(chargeB, " ") == 0)
  3856. {
  3857. strcpy(chargeB, ", Attempted Murder of A Civilian");
  3858. }
  3859. else if (strcmp(chargeC, " ") == 0)
  3860. {
  3861. strcpy(chargeC, ", Attempted Murder of A Civilian");
  3862. }
  3863. else if (strcmp(chargeD, " ") == 0)
  3864. {
  3865. strcpy(chargeD, ", Attempted Murder of A Civilian");
  3866. }
  3867. else if (strcmp(chargeE, " ") == 0)
  3868. {
  3869. strcpy(chargeE, ", Attempted Murder of A Civilian");
  3870. }
  3871. else if (strcmp(chargeF, " ") == 0)
  3872. {
  3873. strcpy(chargeF, ", Attempted Murder of A Civilian");
  3874. }
  3875. else if (strcmp(chargeG, " ") == 0)
  3876. {
  3877. strcpy(chargeG, ", Attempted Murder of A Civilian");
  3878. }
  3879. else if (strcmp(chargeH, " ") == 0)
  3880. {
  3881. strcpy(chargeH, ", Attempted Murder of A Civilian");
  3882. }
  3883. else if (strcmp(chargeI, " ") == 0)
  3884. {
  3885. strcpy(chargeI, ", Attempted Murder of A Civilian");
  3886. }
  3887. else if (strcmp(chargeJ, " ") == 0)
  3888. {
  3889. strcpy(chargeJ, ", Attempted Murder of A Civilian");
  3890. }
  3891. else if (strcmp(chargeK, " ") == 0)
  3892. {
  3893. strcpy(chargeK, ", Attempted Murder of A Civilian");
  3894. }
  3895. else if (strcmp(chargeL, " ") == 0)
  3896. {
  3897. strcpy(chargeL, ", Attempted Murder of A Civilian");
  3898. }
  3899. else if (strcmp(chargeM, " ") == 0)
  3900. {
  3901. strcpy(chargeM, ", Attempted Murder of A Civilian");
  3902. }
  3903. else if (strcmp(chargeN, " ") == 0)
  3904. {
  3905. strcpy(chargeN, ", Attempted Murder of A Civilian");
  3906. }
  3907. else if (strcmp(chargeO, " ") == 0)
  3908. {
  3909. strcpy(chargeO, ", Attempted Murder of A Civilian");
  3910. }
  3911. *ptr_fine = *ptr_fine + 10000;
  3912. *ptr_jailTime = *ptr_jailTime + 10;
  3913. break;
  3914.  
  3915. case 9:
  3916. //Attempted Murder of A City Worker
  3917. if (strcmp(chargeA, " ") == 0)
  3918. {
  3919. strcpy(chargeA, "Attempted Murder of A City Worker");
  3920. }
  3921. else if (strcmp(chargeB, " ") == 0)
  3922. {
  3923. strcpy(chargeB, ", Attempted Murder of A City Worker");
  3924. }
  3925. else if (strcmp(chargeC, " ") == 0)
  3926. {
  3927. strcpy(chargeC, ", Attempted Murder of A City Worker");
  3928. }
  3929. else if (strcmp(chargeD, " ") == 0)
  3930. {
  3931. strcpy(chargeD, ", Attempted Murder of A City Worker");
  3932. }
  3933. else if (strcmp(chargeE, " ") == 0)
  3934. {
  3935. strcpy(chargeE, ", Attempted Murder of A City Worker");
  3936. }
  3937. else if (strcmp(chargeF, " ") == 0)
  3938. {
  3939. strcpy(chargeF, ", Attempted Murder of A City Worker");
  3940. }
  3941. else if (strcmp(chargeG, " ") == 0)
  3942. {
  3943. strcpy(chargeG, ", Attempted Murder of A City Worker");
  3944. }
  3945. else if (strcmp(chargeH, " ") == 0)
  3946. {
  3947. strcpy(chargeH, ", Attempted Murder of A City Worker");
  3948. }
  3949. else if (strcmp(chargeI, " ") == 0)
  3950. {
  3951. strcpy(chargeI, ", Attempted Murder of A City Worker");
  3952. }
  3953. else if (strcmp(chargeJ, " ") == 0)
  3954. {
  3955. strcpy(chargeJ, ", Attempted Murder of A City Worker");
  3956. }
  3957. else if (strcmp(chargeK, " ") == 0)
  3958. {
  3959. strcpy(chargeK, ", Attempted Murder of A City Worker");
  3960. }
  3961. else if (strcmp(chargeL, " ") == 0)
  3962. {
  3963. strcpy(chargeL, ", Attempted Murder of A City Worker");
  3964. }
  3965. else if (strcmp(chargeM, " ") == 0)
  3966. {
  3967. strcpy(chargeM, ", Attempted Murder of A City Worker");
  3968. }
  3969. else if (strcmp(chargeN, " ") == 0)
  3970. {
  3971. strcpy(chargeN, ", Attempted Murder of A City Worker");
  3972. }
  3973. else if (strcmp(chargeO, " ") == 0)
  3974. {
  3975. strcpy(chargeO, ", Attempted Murder of A City Worker");
  3976. }
  3977. *ptr_fine = *ptr_fine + 20000;
  3978. *ptr_jailTime = *ptr_jailTime + 30;
  3979. break;
  3980.  
  3981. case 10:
  3982. //Manslaughter
  3983. if (strcmp(chargeA, " ") == 0)
  3984. {
  3985. strcpy(chargeA, "Manslaughter");
  3986. }
  3987. else if (strcmp(chargeB, " ") == 0)
  3988. {
  3989. strcpy(chargeB, ", Manslaughter");
  3990. }
  3991. else if (strcmp(chargeC, " ") == 0)
  3992. {
  3993. strcpy(chargeC, ", Manslaughter");
  3994. }
  3995. else if (strcmp(chargeD, " ") == 0)
  3996. {
  3997. strcpy(chargeD, ", Manslaughter");
  3998. }
  3999. else if (strcmp(chargeE, " ") == 0)
  4000. {
  4001. strcpy(chargeE, ", Manslaughter");
  4002. }
  4003. else if (strcmp(chargeF, " ") == 0)
  4004. {
  4005. strcpy(chargeF, ", Manslaughter");
  4006. }
  4007. else if (strcmp(chargeG, " ") == 0)
  4008. {
  4009. strcpy(chargeG, ", Manslaughter");
  4010. }
  4011. else if (strcmp(chargeH, " ") == 0)
  4012. {
  4013. strcpy(chargeH, ", Manslaughter");
  4014. }
  4015. else if (strcmp(chargeI, " ") == 0)
  4016. {
  4017. strcpy(chargeI, ", Manslaughter");
  4018. }
  4019. else if (strcmp(chargeJ, " ") == 0)
  4020. {
  4021. strcpy(chargeJ, ", Manslaughter");
  4022. }
  4023. else if (strcmp(chargeK, " ") == 0)
  4024. {
  4025. strcpy(chargeK, ", Manslaughter");
  4026. }
  4027. else if (strcmp(chargeL, " ") == 0)
  4028. {
  4029. strcpy(chargeL, ", Manslaughter");
  4030. }
  4031. else if (strcmp(chargeM, " ") == 0)
  4032. {
  4033. strcpy(chargeM, ", Manslaughter");
  4034. }
  4035. else if (strcmp(chargeN, " ") == 0)
  4036. {
  4037. strcpy(chargeN, ", Manslaughter");
  4038. }
  4039. else if (strcmp(chargeO, " ") == 0)
  4040. {
  4041. strcpy(chargeO, ", Manslaughter");
  4042. }
  4043. *ptr_fine = *ptr_fine + 1000;
  4044. *ptr_jailTime = *ptr_jailTime + 15;
  4045. break;
  4046.  
  4047. case 11:
  4048. //Unarmed Robbery
  4049. if (strcmp(chargeA, " ") == 0)
  4050. {
  4051. strcpy(chargeA, "Unarmed Robbery");
  4052. }
  4053. else if (strcmp(chargeB, " ") == 0)
  4054. {
  4055. strcpy(chargeB, ", Unarmed Robbery");
  4056. }
  4057. else if (strcmp(chargeC, " ") == 0)
  4058. {
  4059. strcpy(chargeC, ", Unarmed Robbery");
  4060. }
  4061. else if (strcmp(chargeD, " ") == 0)
  4062. {
  4063. strcpy(chargeD, ", Unarmed Robbery");
  4064. }
  4065. else if (strcmp(chargeE, " ") == 0)
  4066. {
  4067. strcpy(chargeE, ", Unarmed Robbery");
  4068. }
  4069. else if (strcmp(chargeF, " ") == 0)
  4070. {
  4071. strcpy(chargeF, ", Unarmed Robbery");
  4072. }
  4073. else if (strcmp(chargeG, " ") == 0)
  4074. {
  4075. strcpy(chargeG, ", Unarmed Robbery");
  4076. }
  4077. else if (strcmp(chargeH, " ") == 0)
  4078. {
  4079. strcpy(chargeH, ", Unarmed Robbery");
  4080. }
  4081. else if (strcmp(chargeI, " ") == 0)
  4082. {
  4083. strcpy(chargeI, ", Unarmed Robbery");
  4084. }
  4085. else if (strcmp(chargeJ, " ") == 0)
  4086. {
  4087. strcpy(chargeJ, ", Unarmed Robbery");
  4088. }
  4089. else if (strcmp(chargeK, " ") == 0)
  4090. {
  4091. strcpy(chargeK, ", Unarmed Robbery");
  4092. }
  4093. else if (strcmp(chargeL, " ") == 0)
  4094. {
  4095. strcpy(chargeL, ", Unarmed Robbery");
  4096. }
  4097. else if (strcmp(chargeM, " ") == 0)
  4098. {
  4099. strcpy(chargeM, ", Unarmed Robbery");
  4100. }
  4101. else if (strcmp(chargeN, " ") == 0)
  4102. {
  4103. strcpy(chargeN, ", Unarmed Robbery");
  4104. }
  4105. else if (strcmp(chargeO, " ") == 0)
  4106. {
  4107. strcpy(chargeO, ", Unarmed Robbery");
  4108. }
  4109. *ptr_fine = *ptr_fine + 100;
  4110. *ptr_jailTime = *ptr_jailTime + 5;
  4111. break;
  4112.  
  4113. case 12:
  4114. //Armed Robbery
  4115. if (strcmp(chargeA, " ") == 0)
  4116. {
  4117. strcpy(chargeA, "Armed Robbery");
  4118. }
  4119. else if (strcmp(chargeB, " ") == 0)
  4120. {
  4121. strcpy(chargeB, ", Armed Robbery");
  4122. }
  4123. else if (strcmp(chargeC, " ") == 0)
  4124. {
  4125. strcpy(chargeC, ", Armed Robbery");
  4126. }
  4127. else if (strcmp(chargeD, " ") == 0)
  4128. {
  4129. strcpy(chargeD, ", Armed Robbery");
  4130. }
  4131. else if (strcmp(chargeE, " ") == 0)
  4132. {
  4133. strcpy(chargeE, ", Armed Robbery");
  4134. }
  4135. else if (strcmp(chargeF, " ") == 0)
  4136. {
  4137. strcpy(chargeF, ", Armed Robbery");
  4138. }
  4139. else if (strcmp(chargeG, " ") == 0)
  4140. {
  4141. strcpy(chargeG, ", Armed Robbery");
  4142. }
  4143. else if (strcmp(chargeH, " ") == 0)
  4144. {
  4145. strcpy(chargeH, ", Armed Robbery");
  4146. }
  4147. else if (strcmp(chargeI, " ") == 0)
  4148. {
  4149. strcpy(chargeI, ", Armed Robbery");
  4150. }
  4151. else if (strcmp(chargeJ, " ") == 0)
  4152. {
  4153. strcpy(chargeJ, ", Armed Robbery");
  4154. }
  4155. else if (strcmp(chargeK, " ") == 0)
  4156. {
  4157. strcpy(chargeK, ", Armed Robbery");
  4158. }
  4159. else if (strcmp(chargeL, " ") == 0)
  4160. {
  4161. strcpy(chargeL, ", Armed Robbery");
  4162. }
  4163. else if (strcmp(chargeM, " ") == 0)
  4164. {
  4165. strcpy(chargeM, ", Armed Robbery");
  4166. }
  4167. else if (strcmp(chargeN, " ") == 0)
  4168. {
  4169. strcpy(chargeN, ", Armed Robbery");
  4170. }
  4171. else if (strcmp(chargeO, " ") == 0)
  4172. {
  4173. strcpy(chargeO, ", Armed Robbery");
  4174. }
  4175. *ptr_fine = *ptr_fine + 2000;
  4176. *ptr_jailTime = *ptr_jailTime + 10;
  4177. break;
  4178.  
  4179. case 13:
  4180. //Drug Trafficking
  4181. if (strcmp(chargeA, " ") == 0)
  4182. {
  4183. strcpy(chargeA, "Drug Trafficking");
  4184. }
  4185. else if (strcmp(chargeB, " ") == 0)
  4186. {
  4187. strcpy(chargeB, ", Drug Trafficking");
  4188. }
  4189. else if (strcmp(chargeC, " ") == 0)
  4190. {
  4191. strcpy(chargeC, ", Drug Trafficking");
  4192. }
  4193. else if (strcmp(chargeD, " ") == 0)
  4194. {
  4195. strcpy(chargeD, ", Drug Trafficking");
  4196. }
  4197. else if (strcmp(chargeE, " ") == 0)
  4198. {
  4199. strcpy(chargeE, ", Drug Trafficking");
  4200. }
  4201. else if (strcmp(chargeF, " ") == 0)
  4202. {
  4203. strcpy(chargeF, ", Drug Trafficking");
  4204. }
  4205. else if (strcmp(chargeG, " ") == 0)
  4206. {
  4207. strcpy(chargeG, ", Drug Trafficking");
  4208. }
  4209. else if (strcmp(chargeH, " ") == 0)
  4210. {
  4211. strcpy(chargeH, ", Drug Trafficking");
  4212. }
  4213. else if (strcmp(chargeI, " ") == 0)
  4214. {
  4215. strcpy(chargeI, ", Drug Trafficking");
  4216. }
  4217. else if (strcmp(chargeJ, " ") == 0)
  4218. {
  4219. strcpy(chargeJ, ", Drug Trafficking");
  4220. }
  4221. else if (strcmp(chargeK, " ") == 0)
  4222. {
  4223. strcpy(chargeK, ", Drug Trafficking");
  4224. }
  4225. else if (strcmp(chargeL, " ") == 0)
  4226. {
  4227. strcpy(chargeL, ", Drug Trafficking");
  4228. }
  4229. else if (strcmp(chargeM, " ") == 0)
  4230. {
  4231. strcpy(chargeM, ", Drug Trafficking");
  4232. }
  4233. else if (strcmp(chargeN, " ") == 0)
  4234. {
  4235. strcpy(chargeN, ", Drug Trafficking");
  4236. }
  4237. else if (strcmp(chargeO, " ") == 0)
  4238. {
  4239. strcpy(chargeO, ", Drug Trafficking");
  4240. }
  4241. *ptr_fine = *ptr_fine + 5000;
  4242. *ptr_jailTime = *ptr_jailTime + 10;
  4243. break;
  4244.  
  4245. case 14:
  4246. //Intent To Distribute
  4247. if (strcmp(chargeA, " ") == 0)
  4248. {
  4249. strcpy(chargeA, "Intent To Distribute");
  4250. }
  4251. else if (strcmp(chargeB, " ") == 0)
  4252. {
  4253. strcpy(chargeB, ", Intent To Distribute");
  4254. }
  4255. else if (strcmp(chargeC, " ") == 0)
  4256. {
  4257. strcpy(chargeC, ", Intent To Distribute");
  4258. }
  4259. else if (strcmp(chargeD, " ") == 0)
  4260. {
  4261. strcpy(chargeD, ", Intent To Distribute");
  4262. }
  4263. else if (strcmp(chargeE, " ") == 0)
  4264. {
  4265. strcpy(chargeE, ", Intent To Distribute");
  4266. }
  4267. else if (strcmp(chargeF, " ") == 0)
  4268. {
  4269. strcpy(chargeF, ", Intent To Distribute");
  4270. }
  4271. else if (strcmp(chargeG, " ") == 0)
  4272. {
  4273. strcpy(chargeG, ", Intent To Distribute");
  4274. }
  4275. else if (strcmp(chargeH, " ") == 0)
  4276. {
  4277. strcpy(chargeH, ", Intent To Distribute");
  4278. }
  4279. else if (strcmp(chargeI, " ") == 0)
  4280. {
  4281. strcpy(chargeI, ", Intent To Distribute");
  4282. }
  4283. else if (strcmp(chargeJ, " ") == 0)
  4284. {
  4285. strcpy(chargeJ, ", Intent To Distribute");
  4286. }
  4287. else if (strcmp(chargeK, " ") == 0)
  4288. {
  4289. strcpy(chargeK, ", Intent To Distribute");
  4290. }
  4291. else if (strcmp(chargeL, " ") == 0)
  4292. {
  4293. strcpy(chargeL, ", Intent To Distribute");
  4294. }
  4295. else if (strcmp(chargeM, " ") == 0)
  4296. {
  4297. strcpy(chargeM, ", Intent To Distribute");
  4298. }
  4299. else if (strcmp(chargeN, " ") == 0)
  4300. {
  4301. strcpy(chargeN, ", Intent To Distribute");
  4302. }
  4303. else if (strcmp(chargeO, " ") == 0)
  4304. {
  4305. strcpy(chargeO, ", Intent To Distribute");
  4306. }
  4307. *ptr_fine = *ptr_fine + 2500;
  4308. *ptr_jailTime = *ptr_jailTime + 5;
  4309. break;
  4310.  
  4311. case 15:
  4312. //Possesion of Dirty Money
  4313. if (strcmp(chargeA, " ") == 0)
  4314. {
  4315. strcpy(chargeA, "Possesion of Dirty Money");
  4316. }
  4317. else if (strcmp(chargeB, " ") == 0)
  4318. {
  4319. strcpy(chargeB, ", Possesion of Dirty Money");
  4320. }
  4321. else if (strcmp(chargeC, " ") == 0)
  4322. {
  4323. strcpy(chargeC, ", Possesion of Dirty Money");
  4324. }
  4325. else if (strcmp(chargeD, " ") == 0)
  4326. {
  4327. strcpy(chargeD, ", Possesion of Dirty Money");
  4328. }
  4329. else if (strcmp(chargeE, " ") == 0)
  4330. {
  4331. strcpy(chargeE, ", Possesion of Dirty Money");
  4332. }
  4333. else if (strcmp(chargeF, " ") == 0)
  4334. {
  4335. strcpy(chargeF, ", Possesion of Dirty Money");
  4336. }
  4337. else if (strcmp(chargeG, " ") == 0)
  4338. {
  4339. strcpy(chargeG, ", Possesion of Dirty Money");
  4340. }
  4341. else if (strcmp(chargeH, " ") == 0)
  4342. {
  4343. strcpy(chargeH, ", Possesion of Dirty Money");
  4344. }
  4345. else if (strcmp(chargeI, " ") == 0)
  4346. {
  4347. strcpy(chargeI, ", Possesion of Dirty Money");
  4348. }
  4349. else if (strcmp(chargeJ, " ") == 0)
  4350. {
  4351. strcpy(chargeJ, ", Possesion of Dirty Money");
  4352. }
  4353. else if (strcmp(chargeK, " ") == 0)
  4354. {
  4355. strcpy(chargeK, ", Possesion of Dirty Money");
  4356. }
  4357. else if (strcmp(chargeL, " ") == 0)
  4358. {
  4359. strcpy(chargeL, ", Possesion of Dirty Money");
  4360. }
  4361. else if (strcmp(chargeM, " ") == 0)
  4362. {
  4363. strcpy(chargeM, ", Possesion of Dirty Money");
  4364. }
  4365. else if (strcmp(chargeN, " ") == 0)
  4366. {
  4367. strcpy(chargeN, ", Possesion of Dirty Money");
  4368. }
  4369. else if (strcmp(chargeO, " ") == 0)
  4370. {
  4371. strcpy(chargeO, ", Possesion of Dirty Money");
  4372. }
  4373. printf("\n\nENTER AMOUNT OF DIRTY MONEY:");
  4374. scanf("%d", &dirtyMoney);
  4375. if (dirtyMoney < 999)
  4376. {
  4377. *ptr_fine = *ptr_fine + 100;
  4378. *ptr_jailTime = *ptr_jailTime + 5;
  4379. }
  4380. else if (dirtyMoney < 9999)
  4381. {
  4382. *ptr_fine = *ptr_fine + 500;
  4383. *ptr_jailTime = *ptr_jailTime + 10;
  4384. }
  4385. else if(dirtyMoney < 49999)
  4386. {
  4387. *ptr_fine = *ptr_fine + 1000;
  4388. *ptr_jailTime = *ptr_jailTime + 15;
  4389. }
  4390. else (dirtyMoney > 50000);
  4391. {
  4392. *ptr_fine = *ptr_fine + 5000;
  4393. *ptr_jailTime = *ptr_jailTime + 20;
  4394. }
  4395. break;
  4396.  
  4397. case 16:
  4398. //Failure To Appear
  4399. if (strcmp(chargeA, " ") == 0)
  4400. {
  4401. strcpy(chargeA, "Failure To Appear");
  4402. }
  4403. else if (strcmp(chargeB, " ") == 0)
  4404. {
  4405. strcpy(chargeB, ", Failure To Appear");
  4406. }
  4407. else if (strcmp(chargeC, " ") == 0)
  4408. {
  4409. strcpy(chargeC, ", Failure To Appear");
  4410. }
  4411. else if (strcmp(chargeD, " ") == 0)
  4412. {
  4413. strcpy(chargeD, ", Failure To Appear");
  4414. }
  4415. else if (strcmp(chargeE, " ") == 0)
  4416. {
  4417. strcpy(chargeE, ", Failure To Appear");
  4418. }
  4419. else if (strcmp(chargeF, " ") == 0)
  4420. {
  4421. strcpy(chargeF, ", Failure To Appear");
  4422. }
  4423. else if (strcmp(chargeG, " ") == 0)
  4424. {
  4425. strcpy(chargeG, ", Failure To Appear");
  4426. }
  4427. else if (strcmp(chargeH, " ") == 0)
  4428. {
  4429. strcpy(chargeH, ", Failure To Appear");
  4430. }
  4431. else if (strcmp(chargeI, " ") == 0)
  4432. {
  4433. strcpy(chargeI, ", Failure To Appear");
  4434. }
  4435. else if (strcmp(chargeJ, " ") == 0)
  4436. {
  4437. strcpy(chargeJ, ", Failure To Appear");
  4438. }
  4439. else if (strcmp(chargeK, " ") == 0)
  4440. {
  4441. strcpy(chargeK, ", Failure To Appear");
  4442. }
  4443. else if (strcmp(chargeL, " ") == 0)
  4444. {
  4445. strcpy(chargeL, ", Failure To Appear");
  4446. }
  4447. else if (strcmp(chargeM, " ") == 0)
  4448. {
  4449. strcpy(chargeM, ", Failure To Appear");
  4450. }
  4451. else if (strcmp(chargeN, " ") == 0)
  4452. {
  4453. strcpy(chargeN, ", Failure To Appear");
  4454. }
  4455. else if (strcmp(chargeO, " ") == 0)
  4456. {
  4457. strcpy(chargeO, ", Failure To Appear");
  4458. }
  4459. *ptr_fine = *ptr_fine + 500;
  4460. *ptr_jailTime = *ptr_jailTime + 10;
  4461. break;
  4462.  
  4463. case 17:
  4464. //Level 3 Illegal Weapon
  4465. if (strcmp(chargeA, " ") == 0)
  4466. {
  4467. strcpy(chargeA, "Level 3 Illegal Weapon");
  4468. }
  4469. else if (strcmp(chargeB, " ") == 0)
  4470. {
  4471. strcpy(chargeB, ", Level 3 Illegal Weapon");
  4472. }
  4473. else if (strcmp(chargeC, " ") == 0)
  4474. {
  4475. strcpy(chargeC, ", Level 3 Illegal Weapon");
  4476. }
  4477. else if (strcmp(chargeD, " ") == 0)
  4478. {
  4479. strcpy(chargeD, ", Level 3 Illegal Weapon");
  4480. }
  4481. else if (strcmp(chargeE, " ") == 0)
  4482. {
  4483. strcpy(chargeE, ", Level 3 Illegal Weapon");
  4484. }
  4485. else if (strcmp(chargeF, " ") == 0)
  4486. {
  4487. strcpy(chargeF, ", Level 3 Illegal Weapon");
  4488. }
  4489. else if (strcmp(chargeG, " ") == 0)
  4490. {
  4491. strcpy(chargeG, ", Level 3 Illegal Weapon");
  4492. }
  4493. else if (strcmp(chargeH, " ") == 0)
  4494. {
  4495. strcpy(chargeH, ", Level 3 Illegal Weapon");
  4496. }
  4497. else if (strcmp(chargeI, " ") == 0)
  4498. {
  4499. strcpy(chargeI, ", Level 3 Illegal Weapon");
  4500. }
  4501. else if (strcmp(chargeJ, " ") == 0)
  4502. {
  4503. strcpy(chargeJ, ", Level 3 Illegal Weapon");
  4504. }
  4505. else if (strcmp(chargeK, " ") == 0)
  4506. {
  4507. strcpy(chargeK, ", Level 3 Illegal Weapon");
  4508. }
  4509. else if (strcmp(chargeL, " ") == 0)
  4510. {
  4511. strcpy(chargeL, ", Level 3 Illegal Weapon");
  4512. }
  4513. else if (strcmp(chargeM, " ") == 0)
  4514. {
  4515. strcpy(chargeM, ", Level 3 Illegal Weapon");
  4516. }
  4517. else if (strcmp(chargeN, " ") == 0)
  4518. {
  4519. strcpy(chargeN, ", Level 3 Illegal Weapon");
  4520. }
  4521. else if (strcmp(chargeO, " ") == 0)
  4522. {
  4523. strcpy(chargeO, ", Level 3 Illegal Weapon");
  4524. }
  4525. *ptr_fine = *ptr_fine + 1000;
  4526. *ptr_jailTime = *ptr_jailTime + 10;
  4527. break;
  4528. case 18:
  4529. //Unarmed GTA
  4530. if (strcmp(chargeA, " ") == 0)
  4531. {
  4532. strcpy(chargeA, "Unarmed GTA");
  4533. }
  4534. else if (strcmp(chargeB, " ") == 0)
  4535. {
  4536. strcpy(chargeB, ", Unarmed GTA");
  4537. }
  4538. else if (strcmp(chargeC, " ") == 0)
  4539. {
  4540. strcpy(chargeC, ", Unarmed GTA");
  4541. }
  4542. else if (strcmp(chargeD, " ") == 0)
  4543. {
  4544. strcpy(chargeD, ", Unarmed GTA");
  4545. }
  4546. else if (strcmp(chargeE, " ") == 0)
  4547. {
  4548. strcpy(chargeE, ", Unarmed GTA");
  4549. }
  4550. else if (strcmp(chargeF, " ") == 0)
  4551. {
  4552. strcpy(chargeF, ", Unarmed GTA");
  4553. }
  4554. else if (strcmp(chargeG, " ") == 0)
  4555. {
  4556. strcpy(chargeG, ", Unarmed GTA");
  4557. }
  4558. else if (strcmp(chargeH, " ") == 0)
  4559. {
  4560. strcpy(chargeH, ", Unarmed GTA");
  4561. }
  4562. else if (strcmp(chargeI, " ") == 0)
  4563. {
  4564. strcpy(chargeI, ", Unarmed GTA");
  4565. }
  4566. else if (strcmp(chargeJ, " ") == 0)
  4567. {
  4568. strcpy(chargeJ, ", Unarmed GTA");
  4569. }
  4570. else if (strcmp(chargeK, " ") == 0)
  4571. {
  4572. strcpy(chargeK, ", Unarmed GTA");
  4573. }
  4574. else if (strcmp(chargeL, " ") == 0)
  4575. {
  4576. strcpy(chargeL, ", Unarmed GTA");
  4577. }
  4578. else if (strcmp(chargeM, " ") == 0)
  4579. {
  4580. strcpy(chargeM, ", Unarmed GTA");
  4581. }
  4582. else if (strcmp(chargeN, " ") == 0)
  4583. {
  4584. strcpy(chargeN, ", Unarmed GTA");
  4585. }
  4586. else if (strcmp(chargeO, " ") == 0)
  4587. {
  4588. strcpy(chargeO, ", Unarmed GTA");
  4589. }
  4590. *ptr_fine = *ptr_fine + 5000;
  4591. *ptr_jailTime = *ptr_jailTime + 5;
  4592. break;
  4593. case 19:
  4594. //Armed GTA
  4595. if (strcmp(chargeA, " ") == 0)
  4596. {
  4597. strcpy(chargeA, "Armed GTA");
  4598. }
  4599. else if (strcmp(chargeB, " ") == 0)
  4600. {
  4601. strcpy(chargeB, ", Armed GTA");
  4602. }
  4603. else if (strcmp(chargeC, " ") == 0)
  4604. {
  4605. strcpy(chargeC, ", Armed GTA");
  4606. }
  4607. else if (strcmp(chargeD, " ") == 0)
  4608. {
  4609. strcpy(chargeD, ", Armed GTA");
  4610. }
  4611. else if (strcmp(chargeE, " ") == 0)
  4612. {
  4613. strcpy(chargeE, ", Armed GTA");
  4614. }
  4615. else if (strcmp(chargeF, " ") == 0)
  4616. {
  4617. strcpy(chargeF, ", Armed GTA");
  4618. }
  4619. else if (strcmp(chargeG, " ") == 0)
  4620. {
  4621. strcpy(chargeG, ", Armed GTA");
  4622. }
  4623. else if (strcmp(chargeH, " ") == 0)
  4624. {
  4625. strcpy(chargeH, ", Armed GTA");
  4626. }
  4627. else if (strcmp(chargeI, " ") == 0)
  4628. {
  4629. strcpy(chargeI, ", Armed GTA");
  4630. }
  4631. else if (strcmp(chargeJ, " ") == 0)
  4632. {
  4633. strcpy(chargeJ, ", Armed GTA");
  4634. }
  4635. else if (strcmp(chargeK, " ") == 0)
  4636. {
  4637. strcpy(chargeK, ", Armed GTA");
  4638. }
  4639. else if (strcmp(chargeL, " ") == 0)
  4640. {
  4641. strcpy(chargeL, ", Armed GTA");
  4642. }
  4643. else if (strcmp(chargeM, " ") == 0)
  4644. {
  4645. strcpy(chargeM, ", Armed GTA");
  4646. }
  4647. else if (strcmp(chargeN, " ") == 0)
  4648. {
  4649. strcpy(chargeN, ", Armed GTA");
  4650. }
  4651. else if (strcmp(chargeO, " ") == 0)
  4652. {
  4653. strcpy(chargeO, ", Armed GTA");
  4654. }
  4655. *ptr_fine = *ptr_fine + 10000;
  4656. *ptr_jailTime = *ptr_jailTime + 10;
  4657. break;
  4658. case 0:
  4659.  
  4660. break;
  4661.  
  4662. default:printf("\n\n\n\t\t Choose options 0-19! ");
  4663. break;
  4664. }
  4665. } while (choice);
  4666. }
  4667. void jailCell(int *ptr_jail)
  4668. {
  4669. int choice;
  4670. do
  4671. {
  4672. printf(
  4673. "\n\n\n \t\t --JAIL OPTIONS--"
  4674. "\n 1. Jail Cell 1"
  4675. "\n 2. Jail Cell 2"
  4676. "\n 3. Jail Cell 3"
  4677. "\n 4. Prison"
  4678. "\n 0. BACK"
  4679. "\n\n Select Jail Option: ");
  4680. scanf("%d", &choice);
  4681. switch (choice)
  4682. {
  4683. case 1:
  4684. *ptr_jail = 1;
  4685. break;
  4686.  
  4687. case 2:
  4688. *ptr_jail = 2;
  4689. break;
  4690.  
  4691. case 3:
  4692. *ptr_jail = 3;
  4693. break;
  4694.  
  4695. case 4:
  4696. *ptr_jail = 5;
  4697. break;
  4698.  
  4699. case 0:
  4700. break;
  4701. default:printf("\n Choose options 0-4! ");
  4702. break;
  4703. }
  4704. } while (choice);
  4705.  
  4706. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement