Parallel Arrays

icon picker
Solar System MaxMin

@solar system min-max

Solar System Max-Min

Features

Parallel arrays
Hard-coded data within the program
Standard algorithms: Find maximum, find minimum.

Task


This program has some working code but the rest of the code is yet to be completed.
Use the provided code and the codeClips to:
Calculate the largest diameter value.
Calculate the shortest diameter.
Calculate the longest planet name (number of letters).
Calculate the name of the planet with the smallest diameter.
Calculate the diameter of the planet with the shortest name.
Loading…
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.