Computer Science, asked by gamingstud2468, 2 months ago

Convert the following mathematical expressions into QBASIC

expressions

a) ab+cd+ef

b) (ab+cd)/2ab

c) a 2+b3+c4

d) (PQ+QR)/(P+R)​

Answers

Answered by BrainlyProgrammer
5

Answer:

(a)  \orange{ \texttt{a*b + c*d + e*f}}

(b) \orange{ \tt(a*b + c*d )/(2*a*b)}

(c) If you meant a²+b³+c⁴ then here is the answer a^2+b^3+c^4

if you meant a2+b3+c4 then here is your answer

a*2+b*3+c*4

(d) \orange{ \tt(P*Q+Q*R)/(P+R)}

Tips:-

  • For multiplication use asterisk (*)
  • For division use /
  • For addition use +
  • For subtraction use -
  • Also, use brackets wisely, it will help you to get desired result.
Answered by nirmalasan2
0

Answer:

Don't write worng answers if you don't know

Similar questions