Store Values In An Array

 

Instructions

Write a program and flowchart. The program should store the ages of  six of your friends in an array. Store each of the six ages using the  assignment operator. Print the ages on-screen using a “for” loop.

Here is what the output looks like.

Leave a Reply

Your email address will not be published. Required fields are marked *