Respuesta :
Following are the C++ language code that calculates the given expression value and prints its result value:
Program:
#include <iostream>//header file
using namespace std;
int main()//main method
{
int a,b,c, result;//defining the integer variable
a = 6;//initilizing value 6 in a variable
b = 2;//initilizing value 2 in b variable
c = 3;//initilizing value 3 in c variable
result = a * b - a / c; //using the result variable that holds and calculate the result value
cout<<result;//print result value
return 0;
}
Output:
please find the attached file.
Program Explanation:
- Defining the header file.
- Defining the "main method", inside the method four integer variable "a,b,c, and result" is declared.
- In the next line "a,b, and c" are declared initialized with the value that is "6, 2, and 3".
- Using the "result" variable that holds and calculates the result value, and prints its result value.
Find out more about the method here:
brainly.com/question/18881441