All pastes #368428 Raw Edit

Something

public text v1 · immutable
#368428 ·published 2007-02-23 02:01 UTC
rendered paste body
#include<stdio.h>
int main(void)
{
	int x, y, z;
	//z declared in switch statement
	printf("Please enter an integer for x: ");
	scanf("%d", &x);
	printf("Please enter an integer for y: ");
	scanf("%d", &y);

	
	
	switch(x>0)
	{
		//see if it enters this
		printf("why?");
		switch(y>0) 
		{	
		default:
				z=x;
				y=x+1;
				//see if it enters this
				printf("afdfasdf");
				break;
		}
		switch(y<=0)
		{
		default:  z=y;
				  break;
		}
		z=z+1;
		break
	}
	switch(x<=0)
	{	
		default:  y=x-1;
				  z=2*x;
				  break;
	}

	printf("%d %d %d ", x, y, z);
	return(0);

}