Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #72.8K
~2K People Reached
Interests
Coding in C
Favorite Forums
Favorite Tags
c++ x 2

2 Posted Topics

Member Avatar for Extreme

Your program is write up to if(m==n) in the above program n will become zero after the loop. So assign n value to any other variable,then compare with m.

Member Avatar for Ancient Dragon
0
184
Member Avatar for nnhamane

void main() {int n=1,i=0; clrscr(); while(i<1500) { n++; if(n%2==0||n%3==0||n%5==0) i++; } printf("%d",n); getch(); }

Member Avatar for Salem
0
1K

The End.