Search found 10 matches

by leesandy44
Wed May 05, 2010 6:18 pm
Forum: C/C++ Programming
Topic: Execution Problem
Replies: 11
Views: 8185

Re: Execution Problem

Thank You...!!!! :)
by leesandy44
Wed May 05, 2010 11:31 am
Forum: C/C++ Programming
Topic: Execution Problem
Replies: 11
Views: 8185

Re: Execution Problem

please help me to find the error of the following program...

Code: Select all

#include<conio.h>
void main()
{
	int i,j;
	for(j=1;j<10;j++);
	{
		if(j%3==0)
		{
			continue
		}
		printf("j=%d",j);
	}
	getch();
}

i wanna know more about continue keyword. please send me some sites or some details..
by leesandy44
Sun May 02, 2010 1:45 pm
Forum: C/C++ Programming
Topic: Execution Problem
Replies: 11
Views: 8185

Re: Execution Problem

thank you Neo. Now its working. :)
by leesandy44
Fri Apr 30, 2010 6:29 pm
Forum: C/C++ Programming
Topic: Execution Problem
Replies: 11
Views: 8185

Re: Execution Problem

Neo I wrote the following program. But it has a compilation error. It says "Misplaced else". could you please help me to correct this??? #include<conio.h> void main() { int m; m=0; clrscr(); printf("input module mark"); scanf("%d"\n",&m); if(m>=50); { printf("you are pass"); } else { printf("you are...
by leesandy44
Thu Apr 29, 2010 7:41 pm
Forum: C/C++ Programming
Topic: Execution Problem
Replies: 11
Views: 8185

Re: Execution Problem

okay. thank you Neo. still i haven't learn much functions. thank you so much for the help. :)
by leesandy44
Thu Apr 29, 2010 5:48 pm
Forum: C/C++ Programming
Topic: Execution Problem
Replies: 11
Views: 8185

Re: Execution Problem

that means there's a special keyword for swapping???
by leesandy44
Mon Apr 26, 2010 6:20 pm
Forum: C/C++ Programming
Topic: Execution Problem
Replies: 11
Views: 8185

Execution Problem

can anyone help me to write a c program to swap two numbers? i wrote the following program. at the compilation its not making any errors, but at the execution its not giving the correct output. actually its not swapping the numbers. Please help me to find the error. #include<conio.h> void main() { i...
by leesandy44
Wed Mar 24, 2010 9:59 am
Forum: Data Structures & Algorithms
Topic: Pseudo code Standard
Replies: 11
Views: 17397

Re: Pseudo code Standard

Can anyone solve this for me? The Hailstone Series is generated using the following high level algorithm: 1. Pick a positive number ( 0 or greater ) 2. If it is odd, triple the number and add one 3. If it is even, divide the number by two. 4. Go back to step 2. This series will eventually reach the...
by leesandy44
Sun Mar 21, 2010 10:27 am
Forum: Data Structures & Algorithms
Topic: Pseudo code Standard
Replies: 11
Views: 17397

Re: Pseudo code Standard

thank you..
I'll check the links...
by leesandy44
Sun Mar 21, 2010 9:39 am
Forum: Data Structures & Algorithms
Topic: Pseudo code Standard
Replies: 11
Views: 17397

Re: Pseudo code Standard

Can anyone send me some exercises to practice pseudo codes??? or at least a site to get some exercises...

Go to advanced search