943,948 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 443
  • C++ RSS
Apr 24th, 2009
0

question

Expand Post »
1 write aprogram toread student's name examination number ,score for six subjects plus their average score using type one of c++
please i need this 30 minutes
2 using c++ write aprogram compute the number of students in a room (classes)
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
luutu_amir is offline Offline
2 posts
since Apr 2009
Apr 24th, 2009
0

Re: question

Click to Expand / Collapse  Quote originally posted by luutu_amir ...
1 write aprogram toread student's name examination number ,score for six subjects plus their average score using type one of c++
please i need this 30 minutes
2 using c++ write aprogram compute the number of students in a room (classes)
I can do the second one:
cpp Syntax (Toggle Plain Text)
  1. int main( int argc, const char* argv[] )
  2. {
  3. int studCount;
  4. std::cout << "How many students do you see?";
  5. std::cin >> studCount;
  6. std::cout << "Number of students in the room = " << studCount + 1;
  7. return 0;
  8. }
but more information would be good, like when do you need it by?
Last edited by MrSpigot; Apr 24th, 2009 at 1:03 pm.
Reputation Points: 76
Solved Threads: 40
Junior Poster
MrSpigot is offline Offline
156 posts
since Mar 2009
Apr 24th, 2009
1

Re: question

We don't do homework for free.

We help you to fix and to understand the work you do.
Reputation Points: 1268
Solved Threads: 228
Posting Virtuoso
vmanes is offline Offline
1,895 posts
since Aug 2007
Apr 24th, 2009
0

Re: question

Did you read this ? (probably not)
Reputation Points: 2125
Solved Threads: 243
Postaholic
tux4life is offline Offline
2,105 posts
since Feb 2009
Apr 24th, 2009
0

Re: question

C++ Syntax (Toggle Plain Text)
  1. std::cout << "What did you get on this assigment? ";
  2. std::cin >> iMark;
  3. if (iMark == 0)
  4. return false;
  5. else
  6. return true;
Reputation Points: 352
Solved Threads: 109
Master Poster
skatamatic is offline Offline
779 posts
since Nov 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: graphics project about drawing circle in C++
Next Thread in C++ Forum Timeline: sscanf warning





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC