CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Dec 2009
    Posts
    1

    pseudocode and flowcharts

    i have a few assignment due can anyone help me ?

    #1 The Springwater Township School District has two high schools - Jefferson and Audubon. Each school maintains a student file with fields containing student ID, last name, first name, and address. Each file is in student ID number order. Design a flowchart and write the pseudocode for a program that merges the two files into one file containing a list of all students in the district, maintaining the student ID number order.

    #2Professor Peters allows students to drop the two lowest scores on the 10 quizzes she gives during the semester. Each quiz is work a maximum of 100 points.

    a. Design a flowchart and write the pseudocode that allows the professor to enter a student name and 10 quiz scores for each of her 20 students. The output lists each student's name, and total points for each student's eight highest-scoring quizzes.

    b. Design a flowchart and write the pseudocode that modifies part (a) so that the students are displayed in alphabetical order by name.

    c. Design a flowchart and write the pseudocode that modifies part (a) so that the students are displayed in alphabetical order by total for the eight high-scoring quizzes.

    d. Design a flowchart and write the pseudocode that modifies part (a) so that the end of the list of students the average (mean) for the class is displayed.

    #3 Belk's Department Store keeps a record of every sale including a transaction number, the dollar amount of the sale, and the department number in which the sale was made (values are 1 through 20). Design a flowchart and write the pseudocode for a program that reads the sales, sorted by department, and prints the transaction number and amount for each sale, with a total dollar amount at the end of each department. Submit your flowchart and pseudocode as an attachment

    #4Design a flowchart and write the pseudocode for a program that calls a method that computes the final price for a sales transaction. The program contains variables that hold the price of an item, the salesperson's commission expressed as a percentage, and the customer discount, expressed as a percentage. Create a calculatePrice() method that determines the final price and returns the value to the calling method. The calculatePrice() method requires three arguments: product price, salesperson commission rate, and customer discount rate. A product's final price is the original price plus the commission amount minus the discount amount; the customer discount is taken as a percentage of the total price after the salesperson commission has been added to the original price.

    --------------------------------------------------------------------------------

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: pseudocode and flowcharts

    The minimum fee for doing homework is $500 and that's just to look at it. It goes up from there if any work is actually done.

    Generally the recommended way is to do your own homework and as the instructor if you are unclear about anything.

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: pseudocode and flowcharts

    I don't think he expects a PERFECT paper from you, and if I spent a few hours on it, it would probably be BETTER than his. Think you'd pass his class?

    Teachers want you to make an effort to learn, based on what they've taught.
    We don't know exactly where you are in your studies, but it doesn't sound like the first day of class, expecting the answers over the holiday
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured