|
Intro to C++ Functions
Copy, compile, and execute these examples:
Example 1: A function that does not return a value
Example 2: A simple function
C++ Function Assigniment #1
- Write a program with five functions that print out blocks of text
- Include your prototypes before the main
- Include commments for each block of code
C++ Function Assignment #2
- Write a function that returns the cube of the user's number
- Include comments for each block of code
|