Computer Science, asked by albertriju, 6 months ago

24.b) int s=30; int v=s/5; if(s*v>300) cout<<”s*v=”<<s*v; else cout<<”s+v=”<<s+v; What is the output?. Single choice.



a.s*v=180

b.s+v=36

c.error


Answers

Answered by Anonymous
1

S=30

V=30/5=6

S*v=180

Here, s*v<300

So the result will be s+v =36

The correct answer is option b) s+v=36

Answered by ashokchaudhary4302
0

Answer:

correct answer the option b

Similar questions