Computer Science, asked by LegendaryQueen, 11 months ago

Hello Brainlians !!

In search of " COMPUTER EXPERT "


The question in attached above

Extract from 8th class Computer book !


Please Help !!
NOTE

DON'T TRY TO SPAM ! ❎❎
CONTENT QUALITY REQUIRED! !


✌✌✌●ONLY C++ EXPERT'S●✌✌✌

Attachments:

Answers

Answered by prakhargupta3301
2

Curved brackets for For... Loop aren't specified( Since it is a single line code otherwise it'd not work. But this is not a good practice for longer run so I refrain from skipping brackets no matter how small the code is).Though I guess if the getch() is compiled externally, then output will be:

1

2

3

4

5

6

8

9

For second program I think you need to specify the input. Also the logic for a sum operation is incorrect.

Have a nice day


LegendaryQueen: thanku
LegendaryQueen: but it is of a) part or b) part
prakhargupta3301: TRAP AAp
prakhargupta3301: A part
LegendaryQueen: ohk!!!
LegendaryQueen: thanks a lot
Similar questions