Activity: Functions and Distance Page 1

Introduction

This activity will provide students with experience creating user-defined functions in C++. At the end of this activity, students will…

  • Develop code to read data from the standard input and produce data to the standard output.
  • Write code that conforms to a programming style specified by the instructor.
  • Decompose the given problem into a sequence of single-purpose functions that are highly cohesive and loosely coupled.

This activity will be iPad-based. Let’s begin! Go to the Next Page