Computer Science, asked by gyi59, 1 year ago

7.
Write the equivalent C++ expression for the following Alegbraic
expression:
(1) 2AB + 2BC + 2CA
2A
(ii) b2 - 4ac
2a
3) 4/3 x3

Answers

Answered by rakeshchennupati143
2

Program:

#include<iostream>

int main(){

     int A,B,C,a,b,c,exp1,exp2;

     float exp3;

     exp1 = (2 * A * B) + (2 * B * C) + (2 * C * A) + (2 * A);

     exp2 = (b * 2) - (4 * a * b);

     exp3 = (4 / 3) * 3;

     return 0;

}

---hope you liked my answer, mark brainliest if you liked my answer, In future if you need any help regarding programming and coding feel free it approach me, i'll try ot solve in the most cases answer your problems or doubts   :)

Similar questions