#include
void main()
{
int x,y;
printf("enter value of x");
scanf("%d",&x);
if(x>0)
{
printf("The value of y is 2");
}
else if(x==0)
{
printf("value of y is 0");
}
else
{
printf("value of y is -2");
}
printf("value of y is %d",y);
}
home tips,Kitchen recipes, Web server tips, Websites tricks, Money Tricks, Windows Tricks, Hacking Tricks
No comments:
Post a Comment