During festival season, a supermarket owner decided to provide a gift voucher Total discount to customer code asked in wipro feb 2022

 During festival season, a supermarket owner decided to provide a gift voucher to all their customers. The amount of the gift voucher is to be decided by the difference between the sum of all the even digits and the sum of all the odd digits from the customers' total bill amount. The supermarket owner would like to have an automated system which will calculate and provide the gift voucher amount for each customer. 19 20 21 22 23 Write an algorithm to make an automated system which will find the gift voucher amount for each customer.



Comments

Popular posts from this blog

PERFECT SQUARE asked by MountainBlue

Harry and Porter asked in MountainBlue ,2022

Chomsky's hierarchy Explanation :