This Rust program creates and prints an addition table modulo n . The table shows the results of adding integer pairs from 0 to n − 1 and calculating the result modulo n .