Checkout
checkout
view
Your Cart Your Cart: item(s)
View Details $1.99 Download Add to Cart

Please describe a situation or problem that would use a decision structure and a loop

Describe a situation or program that would use a decision structure and a loop.

Subject:

Computer Science

Topic:

Software Tools and Systems Programming.

Posting ID:

28817

OTA ID:

103979

View Details $1.99 Download Add to Cart

Please write a pseudo-code for the following problems

Part 1: Write pseudo-code for the following problem: You have a file containing sporting goods that are sold online. Each item record contains the item id, item name, item description, item category, item price, and the units in stock. If the category of the item is either "tennis" or "golf", then the price will be discounted by 15%. If the category of the item is "soccer", then the price will be discounted by 10%. For all of the other categories, the original price remains as is. If the number of units in stock is below 50, the item will be marked on the web site as "out of stock". Your part of the program is responsible for listing all of the items. Part 2: Think of scena... click for more

Subject:

Computer Science

Topic:

Software Tools and Systems Programming.

Posting ID:

28992

OTA ID:

103997

View Details $1.99 Download Add to Cart

Need flow chart and pseudo-code for the following problem

Create a flowchart and pseudo-code for the following problem: You have a file containing the grades of students from Beginning Programming, along with the students' information. Your part of the program has to loop through the records, and make sure that any student who has received a 'D', 'W', 'I', or 'F' in the course will not be able to move on to the Advanced Programming class.

Subject:

Computer Science

Topic:

Software Tools and Systems Programming.

Posting ID:

29421

OTA ID:

104271

View Details $1.99 Download Add to Cart

Please give a scenario of the following problem

Think of a situation when you would need to perform sorting or arranging of data. Explain which type of sort you would use and why

Subject:

Computer Science

Topic:

Software Tools and Systems Programming.

Posting ID:

29439

OTA ID:

104485

View Details $1.99 Download Add to Cart

Please create a flow chart for this pseudo-code

Input File FirstName LastName SSNumber Grade start perform housekeeping() while not eof perform mainLoop() endwhile perform finish() stop housekeeping() Variables declare variables num x open file char foundit read studentInfo studentInfo return char studentName num studentSSN char classGrade char grade[1] = "D" char grade[2] = W" char grade[3] = "I" char grade[4] = "F" mainLoop() foundit = "No" x = 1 while x <= 4 if classGrade = grade[x] write studentSSN, "Did not complete prerequisite" to prerequisite print studentSSN, "Did not complete prerequisite" x = 5 foundit = "Yes" else x = x + 1 ... click for more

Subject:

Computer Science

Topic:

Software Tools and Systems Programming.

Posting ID:

29670

OTA ID:

104496

Page generated in 0.0943 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples