n Program 1: WAP to compute x of two given integers x and n. Code: Output: Program 2: WAP for calculating the simple interest. Code: Output: 3