JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
csHjavaA-2019
about this document
revision
traverse and process
standard algorithms
Parallel Arrays
read text files
write text files
CSV files
Letter frequency
development workflow
indices
More
Share
Explore
Parallel Arrays
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 (
Ctrl
P
) instead.