Welcome to City-Data.com Forum!
U.S. CitiesCity-Data Forum Index
Go Back   City-Data Forum > U.S. Forums > California
 [Register]
Please register to participate in our discussions with 2 million other members - it's free and quick! Some forums can only be seen by registered members. After you create your account, you'll be able to customize options and access all our 15,000 new posts/day with fewer ads.
View detailed profile (Advanced) or search
site with Google Custom Search

Search Forums  (Advanced)
Reply Start New Thread
 
Old 08-26-2009, 07:41 PM
 
9,527 posts, read 30,477,668 times
Reputation: 6435

Advertisements

Quote:
Originally Posted by Charles View Post
Excellent.

You forgot to increment i.
(I am probably mixing up FORTRAN and C here.)


int i;
real $;
real OK;
int infinity
binary array kid(male, female);

Print ("what is acceptable family income?");
Read OK;
Print ("what is actual family income?");
Read $;

infinity = (2^^16)-1

{For i = 1 to infinity
{If kid (i) = female AND $ >= OK

then

try again;
i=i+1;

else

stop;}}
Whatever that is... it ain't C :-)
Reply With Quote Quick reply to this message

Reply
Please update this thread with any new information or opinions. This open thread is still read by thousands of people, so we encourage all additional points of view.

Quick Reply
Message:


Settings
X
Data:
Loading data...
Based on 2000-2020 data
Loading data...

123
Hide US histogram


Over $104,000 in prizes was already given out to active posters on our forum and additional giveaways are planned!

Go Back   City-Data Forum > U.S. Forums > California

All times are GMT -6. The time now is 01:21 PM.

© 2005-2024, Advameg, Inc. · Please obey Forum Rules · Terms of Use and Privacy Policy · Bug Bounty

City-Data.com - Contact Us - Archive 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37 - Top