Write a program to copy two text files to a third text file. Ask the user to enter 2 input file names: flname, f2name, and one output file name f3name. Declare 3 files: fl, f2, f3. Open f1, f3 and copy f1 to £3. Close fl, and open £2 and copy it to f3. Close f2. Close f3. Q2. Write a program that loops and to ask the user to enter a positive integer num. Then it prints all the prime numbers between 1 and num inclusive. Enter 0 to quit. write a function called: void print primes (int n) { //print all prime numbers between 1 and n inclusive //use is Prime } bool isPrime (int n) { } Call is Prime it in the main program to check if the entered number is prime or not. A number is a prime number if it is only divisible by itself and by 1. 1 is not prime; return false. 2 is prime; return true. All remaining even numbers are not prime. last = (int) sqrt (n) Loop i from 3 to last inclusive and skip even numbers. See if ni is 1 or 0. If it is 0, then it is not prime; return false.. Return true if the loop finishes.