View Single Post
Old Jun 4th, 2005, 11:36 PM   #8
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,475
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
This works fine for me:

#include <stdio.h> 

int main (void)
{ 
  int count; 
  count=0; 

  while(count<100)
  { 
    ++count; 
    printf("Count = %d\n",count);
  } 
    
  printf("The final count is %d\n",count); 
  scanf(" "); 
  
  return 0;
}
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote