Computer Science, asked by khannaashish898, 11 months ago

Evaluate the following C++ expression:
int a, b = 2, k = 4;
a = b * 3/4 + k/4 + 8 – b + 5/8;

Answers

Answered by mayanksharma789594
4

Answer:

#include<iostream.h>

#include<conio.h>

void main()

{

clrscr();

int a,b=2,k=4;

a= ((b*3)/4)+(k/4)+8-b+(5/8);

cout>>a;

getch();

}

Explanation:

Answered by robotrishi2020
0

Answer:

#include<iostream>

#include<conio.h>

using namespace std;

int main()

{

int a,b=2,k=4;

a= ((b*3)/4)+(k/4)+8-b+(5/8);

cout<<a;

getch();

}

Explanation:

Similar questions