Pleaze, help me to finde bugs | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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; }

19th Sep 2017, 10:31 AM
Alina Alina
Alina Alina - avatar
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 .
21st Sep 2017, 11:43 AM
ibrahim lebond
ibrahim lebond - avatar