0
Pleaze, help me to finde bugs
//#include "stdafx.h" #include <locale.h> #include <stdio.h> //#include <conio.h> #include <cmath> using namespace std; int main() { float y,x,z,a,b; setlocale (0,"russian"); puts ("ŠŠ²ŠµŠ“ŠøŃŠµ x Šø z"); scanf ("%f_%f",&x,&z); a=x*x-10; b=tan(6*z-6*x); if (b=0) puts ("Š ŠµŃŠµŠ½ŠøŠ¹ Š½ŠµŃ"); else { (y=a/b); printf("ŠŃŠ²ŠµŃ=%6.5f\n",y); } return 0; }
1 Answer
0
sorry im also a tsudent and d'ont cnow what you want specific
but here
//#include "stdafx.h"
#include <locale.h>
#include <stdio.h>
//#include <conio.h>
#include <cmath>
using namespace std;
int main()
{
float y, x, z, a, b;
setlocale (0,"russian");
puts ("ŠŠ²ŠµŠ“ŠøŃŠµ x Šø z");
scanf ("%f_%f", &x, &z);
a = x * x -10;
b= tan(6 * z - 6 * x);
if (b <= 0)
{
puts ("Š ŠµŃŠµŠ½ŠøŠ¹ Š½ŠµŃ");
}
else
{
(y = a / b);
printf("ŠŃŠ²ŠµŃ=%6.5f\n", y);
}
return 0;
}
he have no warnig and error try tis is that you want .
sorry but i am no good en english .