kiem tien, kiem tien online, kiem tien truc tuyen, kiem tien tren mang
Tuesday, March 24, 2015

Bài Giải
#include <stdio.h>
#include<conio.h>

void main()
{
float a, b;

printf("\nGiai phuong trinh bac nhat AX + B = 0");
printf("\nCho biet ba he so A B : ");
scanf("%f%f", &a, &b);

if (a==0)
if (b!=0)
printf("Phuong trinh vo nghiem");
else
printf("Phuong trinh co nghiem khong xac dinh");
else
printf("Dap so cua phuong trinh tren = %f", -b/a);
getch();
}

0 comments:

Post a Comment

domain, domain name, premium domain name for sales

Popular Posts