Skip to content

Write a program named SubscriptExceptionTest in which you declare an array of 20 doubles and store values in the array. Write a try block in which you place a loop that prompts the user for a subscript value and displays the value stored in the corresponding array position. Create a catch block that catches any IndexOutOfRangeException and displ…

Notifications You must be signed in to change notification settings

MyCueCards/SubscriptExceptionTest

About

Write a program named SubscriptExceptionTest in which you declare an array of 20 doubles and store values in the array. Write a try block in which you place a loop that prompts the user for a subscript value and displays the value stored in the corresponding array position. Create a catch block that catches any IndexOutOfRangeException and displ…

Topics

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages