Question: write a cobol program on below requirement . Given the following three values total number of maximum chocolates you can eat. 1 . Money you
write a cobol program on below requirement Given the following three values total number of maximum chocolates you can eat.
Money you have to buy the chocolates.
Price: price of a chocolate.
wrap number of wrapers to be returned for getting one extra chocolate.
all are positive integers and greathan
Please write cobol program and test for inputs and give outputs also.
example:
Money
Price
Wrap
output
explanation : but and eat chocolates.
return wrapers and get more chocolates because for every wrapers they will get chocolate
eat chocolates and give wrapers and hold wrapers with you.
eat chocolate and give wrapers old current wrapers
get more chocolate.
so total
using cobol ACCEPT verb. please test using online compiler also test throughly
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
