View difference between Paste ID: 9WD1drpv and YQfkHS7M
SHOW: | | - or go back to the newest paste.
1
#include<stdio.h>
2
#include<conio.h>
3
#include<math.h>
4
5
void main()
6
{
7-
	float a, x,y;	
7+
	float a, x,y;
8-
	printf("x = \n");
8+
	printf("x = ");
9
	scanf("%f", &x);
10
	for (y = -5.6; y <= 1.8; y+=0.2)
11
	{
12
		a = (3+sin(y))/(1+x*x*abs(y-tan(y)));
13-
		printf("%f",a);
13+
		printf("%f\n",a);
14
	}
15
	getch();
16
}