Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.

Paste

Pasted as C++ by registered user xujiayu ( 5 years ago )
,&a);

	   printf("\nnhap b : ");
	   scanf("%f",&b);
  
	   //buoc 2 xu ly 
	   
	   if(a == 0)
	   {
		   if(b == 0)
		   {
		      printf("\nvo so nghiem");
		   }
		   else
		   {
		      printf("\nvo nghiem");
		   }
	   }
	   else
	   {
		   float x = -b / a;
		   printf("\npt co nghiem x = %f",x);
	   
	   }
   
			  

   getch();
   return 0;


}

 

Revise this Paste

Children: 116982
Your Name: Code Language: