Computer Science, asked by sravani346346, 1 year ago

Q65 What will be the output of the following pseudocode?
1.
2.
Integer a, b, c, d
Set a = 14, b = 15, c = 16
if ( a > 6 )
b = c -a
if(a > c)
N
= b + c
#wono og
else
d = b
c
else
+ c - 3
d = a + b
Print d

Answers

Answered by poornimavastrakar405
1

Answer:

( a> 6 ) true because a=14

b = c-a

b = 16-14

b = 2

N = b+c

N = 15 + 16

N = 31

d = bc

d = 15×16

d = 240

c-3 = 16-3

c-3 = 13

d = a+b

d= 14 + 15

d = 29

Print d is 29

Answered by dayanidhisharma19
0

Answer:

Print d is 29

Explanation:

( a> 6 ) true because a=14

b = c-a

b = 16-14

b = 2

N = b+c

N = 15 + 16

N = 31

d = bc

d = 15×16

d = 240

c-3 = 16-3

c-3 = 13

d = a+b

d= 14 + 15

d = 29

Print d is 29

#SPJ3

Similar questions