[ create a new paste ] login | about

Link: http://codepad.org/62tXx1st    [ raw code | output | fork ]

C, pasted on Sep 6:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include<stdio.h>
#include<conio.h>

int main()
{
	float a, b;
	printf("\nNhap a: ");
	scanf("%f", &a);
	printf("\nNhap b: ");
	scanf("%f", &b);

	if(a * b > 0)
		printf("\n%10.3f va %10.3f cung dau", a, b);
	else
		printf("\n%10.3f va %10.3f khong cung dau", a, b);
	getch();
	return 0;
}


Output:
1
Line 17: error: conio.h: No such file or directory


Create a new paste based on this one


Comments: