Answer to Question #339828 in C++ for sannn

Question #339828

    I.       z = [a2 + 4ac] ÷ 2


1
Expert's answer
2022-05-12T08:20:08-0400
#include<iostream>
#include<math.h>
using namespace std;




int main(){
	int A, C;
	float Z;
	cout << "Enter the A (z=(a^2+4ac)/2): ";
	cin >> A;
	cout << "Enter the C (z=(a^2+4ac)/2): ";
	cin >> C;
	Z=(pow(A,2) + 4*A*C)/2;
	cout << "\nWe find Z\n" << "Z = " << Z;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS