I need a little help - I am working on the 3 programs below and I am not sure how to use or write void functions. Can someone give me an example or some instructions? I don't want the entire program for the three below, just some help. Please!!

1. Write a program that reads in two integers from the keyboard and displays their sum. The reading function should read in both integers at the same time. Both the reading and displaying functions should be separate void functions.

2. Write a void function called swap that takes two integer parameters and swaps their contents. Write another swap function that takes two double arguments. Write a short main function that calls both swap functions and demonstrates that the contents have been swapped. Cout statements should appear in function main.

3. Rewrite your answer for question 2 using a single swap template instead of two swap functions. If done correctly, the main () function should not change.