elseif (sentences == consecutive){
serve(time,chargeCount,jail)
}
There are other variables, such as Jurisdiction, also impact how a person will be sentenced. Laws might differ a bit in Sweden though.That code isn't very good. A person can serve >12months if the sentences are ran consecutively. Depending on the criminal, crime, and place, the person charged may want to be in prison instead of jail.