View difference between Paste ID: RijEg3Bc and qvGGRF13
SHOW: | | - or go back to the newest paste.
1
#include "StdAfx.h"
2
#include<stdio.h>
3
#include<conio.h>
4
#include<math.h>
5
6
void main()
7
{
8-
	printf("     x|     y");
8+
9
	printf("      x      y\n");
10
	for (x = -1.7; x <= 1.7; x+=0.2)
11
	{
12-
		printf("%5f|%5f\n", x, y);
12+
13
		printf("%7.2f|%7.2f\n", x, y);
14
	}
15
	getch();
16
}