assignment_19

assignment_19 - Assignment 19 For loops Write a program...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Assignment 19 For loops Write a program that asks the user for a number between 1 and 10, then prints a line of that many “X”s as shown below. Reject any entries outside of the range of 1 to 10 by displaying “Entry is out of range.” You must use a FOR LOOP for this problem. The variable used to store the number of Xs must be called “numExs”. ...
View Full Document

This note was uploaded on 01/11/2010 for the course CMPSC 101 taught by Professor Drobish,renee during the Summer '07 term at Penn State.

Ask a homework question - tutors are online