Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

EPython For this assignment, you will implement a program that creates random eye charts. Your program will use nested loops, decisions, functions, and random numbers.

image text in transcribed
EPython For this assignment, you will implement a program that creates random eye charts. Your program will use nested loops, decisions, functions, and random numbers. It must work as follows: Using a sentinel loop pattern, prompt the user to determine if they want an eye chart produced. If the user says yes, prompt them for whether they want a box or pyramid shape chart. Based on the shape, prompt accordingly to determine the size. Print a properly spaced eye chart of random letters and numbers (2-9). Your chart must randomly choose either letter or number and then randomly choose a letter or a number Allow the user to repeat the process until the sentinel value is entered. You must implement at least two functions in this program. Global variables are never allowed so do not use them. Make sure all variables are declared with local scope. Your eye chart must produce both letters and numbers in a random fashion! All user input must be validated

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions