pub fn true_mod(num: i32, modulus: i32) -> i32{
	let mut my_num = num % modulus;
	if my_num < 0{
	    my_num = my_num + modulus;
	}
	my_num
}
//true_mod
//Purpose:
//    Given an intger num, computes the mathematical result num mod n
//Pre-conditions:
//    the modulus is a positive integer greater than one.
true_mod
Purpose:
Given an intger num, computes the mathematical result num mod n
Pre-conditions:
the modulus is a positive integer greater than one.
true_mod Purpose : Given an intger num computes the mathematical result num mod n Pre - conditions : the modulus is a positive integer greater than one .
pub fn true_mod(num: i32, modulus: i32) -> i32{
	let mut my_num = num % modulus;
	if my_num < 0{
	    my_num = my_num + modulus;
	}
	my_num
}
pub fn true_mod ( num : i32 , modulus : i32 ) -> i32 { let mut my_num = num % modulus ; if my_num < 0 { my_num = my_num + modulus ; } my_num }
true_mod
Purpose:
Given an intger num, computes the mathematical result num mod n
Pre-conditions:
the modulus is a positive integer greater than one.
true_mod Purpose : Given an intger num computes the mathematical result num mod n Pre - conditions : the modulus is a positive integer greater than one .
num
i32
modulus
i32