Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

your own attempt on bonus point on this code. #include / / for cout using namespace std; / / for the names used by C

your own attempt on bonus point on this code.
#include // for cout
using namespace std; // for the names used by C++
void main(){
float a, b, c, d, e, f;
float x, y;
cout <<" Give a b c values: ";
cin >> a >> b >> c;
cout <<" Give d e f values: ";
cin >> d >> e >> f;
cout << a <<" x +"<< b <<" y ="<< c << endl;
cout << d <<" x +"<< e <<" y ="<< f << endl;
x =(c * e - b * f)/(a * e - b * d);
y =(a * f - c * d)/(a * e - b * d);
cout <<" x ="<< x <<" y ="<< y << endl;

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions