codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Help me please in C++ code  almared_6 at 23:14 on Saturday, April 08, 2006
 

Hi everyone,

This is the first time I've just signed on this web, so I hope that you'll welocome me. I'm very new in c++, and I have a problem with one of the programs. The teacher said that we have to make a program that counts the average grade for a number of students' homework. The program should count the lowest mark for each one, which means that if the user intered these numbers (56, 78, 89, 67,45, 34) the program will not count the lowest grade which is 34 and will add the others together and devide them with 5 not 6 to get the average. The program should aslo stop counting when the user enters -number like -67, this one I know, I just need to know hoe would the program identify the lowest mark, and the rest I'll do it myself.

Sorry for making it long, and thanks in advance








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  perl script help needed
•  onChange issue
•  perl remote execution
•  Chat application
•  How to send multiple perameters in SOAP request.
•  Java code for Insert picture on the table in spreadsheet
•  Re: Problem with concatenation
•  how to genrates the crystal report by sending a id at runtime
•  help me


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007