Computer Science, asked by itzmecutejennei, 6 hours ago

write an algorithm to buy 'rasgulla' and if it is not available in the Haldiram shop then to buy an ice cream from here..?? atleast 8to 10 steps

guys please help in this question and get 50pts but remember no spam or either will be reported(don't be greedy about points or your account will be fully deleted from brainly comunity)

Answers

Answered by prathamesh299
2

KINDLY SEE FULL PHOTO & GIVE THANKS IN MY 8-10 ANSWERS PLS

Attachments:
Answered by Anonymous
0

Following are the algorithm is given below

Explanation:

Start

if ( check rosgullas from haldiram shop if there ) then

buy "buy rosgullas"

else

buy "ice-cream "

  • In this algorithm we have used if -else statement .If rosgullas is available in haldiram then it executed the statement inside the if block it means buy "buy rosgullas" otherwise else block will executed i.e buy "ice-cream ".

End.

Similar questions