Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Nig_Court
- {
- long _stolen_cash;
- boolean bought_judgement;
- public Nig_Court(long stolen_cash)
- {
- bought_judgement = false;
- _stolen_cash = stolen_cash;
- }
- public final void buy_judgement(long bribe)
- {
- //if bribe is > N200,000 and its also greater than 4% of stolen_cash
- if((bribe > 200000) && (bribe > (_stolen_cash * 4 / 100)))
- {
- bought_judgement = true;
- }
- }
- public final String get_Verdict()
- {
- if(bought_judgement)
- {
- return "Case dismised for lack of evidence";
- }
- // < N10... doesnt deserve to live
- else if(_stolen_cash < 10)
- {
- return "Jailed for life";
- }
- //N10 to N5,000 :
- else if(_stolen_cash >= 10 && _stolen_cash < 5000)
- {
- return "Jailed for 70 years with hard labor";
- }
- //N5,000 to N100,000 :
- else if(_stolen_cash >= 5000 && _stolen_cash < 100000)
- {
- return "Jailed for 15 years with mild labor";
- }
- //N100,000 to N1m :
- else if(_stolen_cash >= 100000 && _stolen_cash < 1000000)
- {
- return "Jailed for 6 years without labor";
- }
- //N1m to N30m : Sizeable thief
- else if(_stolen_cash >= 1000000 && _stolen_cash < 30000000)
- {
- return "Jailed for 2 months with option of 10% fine: "
- + Long.toString(_stolen_cash * 10 / 100);
- }
- //N30m to N500m : big thief
- else if(_stolen_cash >= 30000000 && _stolen_cash <= 500000000)
- {
- return "Rest for 3 weeks Sir/Ma with option of 6% fine: "
- + Long.toString(_stolen_cash * 6 / 100);
- }
- //#Oga @ The Top: ahhh, somebody with goodwill for the nation
- //_stolen_cash > N500m ...
- else
- {
- return "Discharged and Acquitted!... Sorry for wasting your ample time"
- + "we thank you for your Patience with us Sir/Ma";
- }
- }
- }
Add Comment
Please, Sign In to add comment