Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 5. Control Statements: Part 1 > Formulating Algorithms: Sentinel-Contro...

5.9. Formulating Algorithms: Sentinel-Controlled Repetition

Let us generalize Section 5.8’s class-average problem. Consider the following problem:

Develop a class-averaging application that processes grades for an arbitrary number of students each time it’s run.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial