0

Why is this code not running ???

I have tried changing int to float , still no luck :( Every time i get errors like No Output or Compilation Error !! i tried these equations : 1) First pair of Equations: 2x + y =5 3x +2y =8 2) Second pair of Equations: x - 3y - 7 = 0 3x - 3y - 15 = 0 While troubleshooting the code if you get the answers of x and y as : 1) x = 2 , y = 1 2) x = 4 , y = -1 Then, Its correct https://code.sololearn.com/cp3WCz44n1Ny/?ref=app https://code.sololearn.com/cp3WCz44n1Ny/?ref=app

23rd Jun 2018, 5:46 PM
Kanishk Mewal
Kanishk Mewal - avatar
2 odpowiedzi
+ 1
https://code.sololearn.com/c3TktsNwiX7v/#cpp Line 18: cin << c2; to cin >> c2;
23rd Jun 2018, 6:06 PM
Wiwat Buranarom
Wiwat Buranarom - avatar
0
thx
24th Jun 2018, 9:10 AM
Kanishk Mewal
Kanishk Mewal - avatar