question

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Apr 2009
Posts: 2
Reputation: luutu_amir is an unknown quantity at this point 
Solved Threads: 0
luutu_amir luutu_amir is offline Offline
Newbie Poster

question

 
0
  #1
Apr 24th, 2009
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)
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 139
Reputation: MrSpigot is on a distinguished road 
Solved Threads: 33
MrSpigot's Avatar
MrSpigot MrSpigot is offline Offline
Junior Poster

Re: question

 
0
  #2
Apr 24th, 2009
Originally Posted by luutu_amir View 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)
I can do the second one:
  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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 1,674
Reputation: vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold 
Solved Threads: 193
vmanes's Avatar
vmanes vmanes is offline Offline
Posting Virtuoso

Re: question

 
1
  #3
Apr 24th, 2009
We don't do homework for free.

We help you to fix and to understand the work you do.
"We Americans got so tired of being thought of as dumb by the rest of the world that we went to the polls last November and removed all doubt."
~~~~~~~~~~~~~~~~~~
Looking for an exciting graduate degree? Robotics and Intelligent Autonomous Systems (RIAS) at SDSM&T See the program brochure here.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 1,968
Reputation: tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute tux4life has a reputation beyond repute 
Solved Threads: 214
tux4life's Avatar
tux4life tux4life is offline Offline
Posting Virtuoso

Re: question

 
0
  #4
Apr 24th, 2009
Did you read this ? (probably not)
"Never argue with idiots, they just drag you down to their level and then beat you with experience."
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 390
Reputation: skatamatic will become famous soon enough skatamatic will become famous soon enough 
Solved Threads: 39
skatamatic skatamatic is offline Offline
Posting Whiz

Re: question

 
0
  #5
Apr 24th, 2009
  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;
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC