what will i do to output low temp

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

Join Date: Jun 2008
Posts: 48
Reputation: sniper29 has a little shameless behaviour in the past 
Solved Threads: 0
sniper29 sniper29 is offline Offline
Light Poster

what will i do to output low temp

 
0
  #1
Jun 14th, 2008
  1. double indexLowTemp()
  2. {ind=1;
  3. for (a=0;a<col;a++)
  4. {if (low<=temp[a][0])
  5. {low=temp[a][0];
  6. ind=a;
  7. }
  8. }
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 280
Reputation: joshmo is an unknown quantity at this point 
Solved Threads: 19
joshmo joshmo is offline Offline
Posting Whiz in Training

Re: what will i do to output low temp

 
0
  #2
Jun 15th, 2008
what is the problem with that piece of code??
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 978
Reputation: mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice 
Solved Threads: 208
mitrmkar mitrmkar is offline Offline
Posting Shark

Re: what will i do to output low temp

 
0
  #3
Jun 15th, 2008
Perhaps ...
double indexLowTemp()
{ind=1;
for (a=0;a<col;a++)
 {if (low<=temp[a][0])
	{low=temp[a][0];
	 ind=a;
	}
 }

// output low temp ...
cout << low;
Last edited by mitrmkar; Jun 15th, 2008 at 9:16 am. Reason: Perhaps
Reply With Quote Quick reply to this message  
Reply

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


Thread Tools Search this Thread



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

©2003 - 2009 DaniWeb® LLC