Jump to content

arithmetical average and dispersion

- - - - -

  • Please log in to reply
5 replies to this topic

#1
aruwin

aruwin

    Learning Programmer

  • Members
  • PipPipPip
  • 42 posts
Can somebody explain to me how to do this?

Write a program, following the order of the steps below, and present(show) each step.


1. Arrange the external and internal specification for a program that finds the arithmetical average and dispersion.
2. Arrange a data structure that follows the specification above.
3. Describe the flow of the program.
-Program according to comment
4. Write the program in C language.
5. Input an appropriate(any?) data, check to make sure the program works properly, and present the results.

#2
Ancient Dragon

Ancient Dragon

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 400 posts
what part(s) don't you understand? If you don't understand the mathematics of the problem you might try google
Visit Grandpa's Forums, a social networking forum, with family-oriented arcade games, blogs, discussion forums, and photo albums.

#3
aruwin

aruwin

    Learning Programmer

  • Members
  • PipPipPip
  • 42 posts
I don't know how to write the program.

#4
Ancient Dragon

Ancient Dragon

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 400 posts
The requirements you stated are to start out by just writing a document that describes how the program is supposed to work. It's called a "requirements document". Just write down on paper (or type it into Notepad) the steps you need to take to solve the math by hand. You don't actually get to write the program until you reach Step #4.
Visit Grandpa's Forums, a social networking forum, with family-oriented arcade games, blogs, discussion forums, and photo albums.

#5
aruwin

aruwin

    Learning Programmer

  • Members
  • PipPipPip
  • 42 posts

Ancient Dragon said:

The requirements you stated are to start out by just writing a document that describes how the program is supposed to work. It's called a "requirements document". Just write down on paper (or type it into Notepad) the steps you need to take to solve the math by hand. You don't actually get to write the program until you reach Step #4.

Can you explain how to do no.1??Because I don't know what it wants for no.1.

#6
Ancient Dragon

Ancient Dragon

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 400 posts
Your instructor should have explained what "external and internal specification" means. I have no idea.
Visit Grandpa's Forums, a social networking forum, with family-oriented arcade games, blogs, discussion forums, and photo albums.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users