prelab10.cpp - Lab 11 Pre-Lab Write a function that...

This preview shows page 1 out of 1 page.

// Lab 11 Pre-Lab // Write a function that multiplies each element in the array "myArray" // by the variable "multiplyMe". #include <iostream> using namespace std; // TODO - Write your function prototype here void multiply(int [], int, int); int main() { const int SIZE = 10; int myArray [SIZE] = {5, 10, 15, 20, 25, 30, 35, 40, 45, 50}; int multiplyMe = 5; // TODO - Add your function call here

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture