#include<stdio.h>
main()
{
int y;
float i,x;
for (y=1; y<=6; y++)
{
for (x=5.5; x<=12.5;x+=0.5)
{
i=2 + (y+ (0.5*x)) ;
printf("\n i=%f, y=%d, x=%f", i, y, x);
continue;
}
}
}
The file can be found at:
Download File
main()
{
int y;
float i,x;
for (y=1; y<=6; y++)
{
for (x=5.5; x<=12.5;x+=0.5)
{
i=2 + (y+ (0.5*x)) ;
printf("\n i=%f, y=%d, x=%f", i, y, x);
continue;
}
}
}
The file can be found at:
Download File
why you use continue after printing i, x ,y values??
ReplyDeletePlease anyone can send output of this code.
ReplyDelete