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