Purchase Solution

Modify C program for loops

Not what you're looking for?

Ask Custom Question

Attached is my program. I have built it to ask the user which store location and amount. I am needing, I think, a loop, but unsure how to go about doing it.

For example, The user enters $300 and selects store #1. The totals display for the user. Now I need to do this two more times (user selects Store #3 or store #2). The selection is what ever store the user selects.
The screen needs to prompt the user to select another store after each request. Does this make sense?

Purchase this Solution

Solution Summary

The expert examines modifies c programs for loops.

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Javscript Basics

Quiz on basics of javascript programming language.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.