Skip to content

Programming-with-C-KNUST-PHYSICS-CLASS/Array-Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Array-Assignment

Question 1.

Write a C++ program that receives input for the number of people in a class. It should then create an array to receive input of the ages of people in the class.

It should output to the screen every repeating age in the data set that is contained in the array.

Question 2.

Write a C++ program that receives input for the number of people in a class. It should then create an array to receive input of the ages of people in the class.

Your program should output to the screen the four youngest ages of the people in the class. Hint: Use a sorting algorithm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages