Five Fruits, One Variable: A Friendly Introduction to Arrays
A Simple Everyday Example Imagine you want to store the names of five fruits you like: Apple Mango Banana Orange Grapes One way to store them in a program would be to create separate variables:



