Jump to content

Raptor Programming

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1
robinlamie

robinlamie

    Newbie

  • Members
  • Pip
  • 6 posts
Can anyone help me write the code for this problem?

Input a list of employee names and salaries, and determine the mean(average) salary as well as the number of salaries above and below the mean.

We have tried the Grade Management Program in the book pg 310 and can't get that right.

HELP!!

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Standard question: what do you have so far? Where are you having trouble? What does it do right now?

You'll have to maintain a list of entered salaries for counting the number above/below the mean.

Also, since we don't have "the book", we can't look anything up unless it's on the web.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
robinlamie

robinlamie

    Newbie

  • Members
  • Pip
  • 6 posts
Yea, I was just hoping that someone on here was in a class using raptor and had the book. It is a free software download that was designed by the Navy I think?? I know there is a story behind it. Anyway, it's not programming language, but it's based on language. It is really a flowchart that you manipulate like programming language. I can't really explain it. I can generate code in C++ and Java from the program, but that doesn't help me because I can't use it yet. That's next semester.

I guess really it's useless to try and get help on line unless someone has used this program. I am going to see my instructor tonight and see if she will help me or give me a clue.

Thanks anyway!

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
What is "the book"? If it's available for download, someone may download it and the program and attempt to help.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
robinlamie

robinlamie

    Newbie

  • Members
  • Pip
  • 6 posts
Hi! thanks for the reply!

Actually, I went to a tutoring session last night and got the answer to my question. The book I reference is "Prelude To Programming Concepts & Design" Stewart Venit, Elizabeth Drake 4th Edition.

I doubt you can download it. It is a textbook for the class.

It's good to know there are people like you who are willing to help!! Much appreciated!