Arrays-Practice

Arrays-Practice - 15-121: Introduction to Data...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

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

Unformatted text preview: 15-121: Introduction to Data StructuresFall 2009Exercise08/28/2009Arrays PracticeDue: none Relevant Reading:•Chapters 1-5 of the online text by Eck. •Basics in Java notes linked from course calendar.•Readings about Java basics in other references you may have (eg. the Pohl download)Assignment: (worth 0 exercise points - this is for practice only) 1)Write a program CoursePercentages which allows the user to enter a list of course percentages (0 - 100). They can be entered on one line or multiple lines. Your program should handle as many scores as the user wishes to enter. After all grades have been entered, display all of the grades which were each of the letter grades. For instance: Sample Input: 100 90 80 81 78 73 95 55 Sample Output: A 100 90 95 B 80 81 C 78 73 D F 55 2)Write a program Movies.java Ask the user to type in the name of 10 movies. Afterwards, the program should display the movies, with every second movie all capitalized. EG:Gone With The Wind...
View Full Document

This document was uploaded on 12/19/2009.

Page1 / 2

Arrays-Practice - 15-121: Introduction to Data...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online