Program approach:-
- Using the necessary header file.
- Using the standard I/O namespace.
- Define the main function.
- Display the x and y values.
- Return the value.
Program:-
//header file
#include <iostream>
//using namespace
using namespace std;
//main function
int main() {
int X, Y, R;
//display the x and y values
cout<< "Enter X and Y values: ";
cin>>X>>Y;
if (X - Y > 0)
{
R = X*Y;
}
else if (X -Y < 0)
{
R = X + Y;
}
else
{
R = 2*(X+Y);
}
cout << "Value X = "<<X<<endl;
cout << "Value Y = "<<Y<<endl;
cout<< "Result R = "<<R<<endl;
//return the value
return 0;
}
Learn more value of X, Y, and R.
brainly.com/question/14293267
Answer:
Integrated Electronics
Graphical user interface
Uniform resource locator
Computer aided design
Liquid crystal display
Arithmetic and logic unit
Answer:computer to print btw r u dumb
Explanation:
fdsafdsafdsafdsafdsafdsgfdhjhgfjhgffdsa
Digital still cameras most often use flash memory cards for storage.