
Lesson 8-2: Functions without Parameters
186 | Chapter 8
Name __________________________________________ Date _______________________
Section _________________________________________
This lesson uses program NamePrint.
// Program NamePrint is a program shell with a function.
#include <iostream>
using namespace std;
void Print();
// FILL IN the documentation.
int main ()
{
Print();
return 0;
}
//**************************************
void Print()
// FILL IN the documentation.
{
/* TO BE FILLED IN */
}
Exercise 1: Fill in the code for function Print so that it prints your name and address (on two
separate lines) enclosed or boxed in dollar signs on the screen. Don’t ...