Kotlinlearncs.online LogoJava
Return to List

Solve: Print Value at Index

Created By: Justin Maier
/ Version: 2024.7.0

You are given a possibly empty array of chars named symbols and an int variable i. If i represents a valid index in the array, print out the value of the element at that index. Otherwise, print out "Invalid index".

Related Lessons

Stuck? You may find these lessons helpful: