Write a program that finds the value of X by using the given formula. Take the value of ‘a’ and

‘b’ from the user.

X = 2(a+b)-2ab

#include <iostream> //preprogressive directive
using namespace std; // Global Identifier

int main() // main fuction
{ // Entry Point
// Declaring Veriable
float a, b, x;
cout<<"Enter The Value of a : ";
cout<<"Enter The Value of b : ";
x = 2*(a+b)-2*a*b;
cout<<"The Value of x : "<<x;

return 0;