prepare C++ programs to execute the following:
problem 1) Read the series of integers and find out the following information about each integer:
a) Is it a multiple of 7, 11 or 13? One function
b) Is the sum of the digits odd or even? One function
c) What is a square root value (if positive)? One function
d) Is it a prime number? One function
You must have at least four functions and label all output.
Use following sample input data:
problem 2) prepare the program which reads several lines from the data file and prints each word of the file on separate line of the output file followed by the number of letters in that word.
Also print count of words in the file on the screen when done. Suppose that words are separated by one or more blanks. (Use modular programming)
Use at least two functions.
Use the following as your sample input data:
The total number of words is 59