i was given an assiignment to write a code for chocolate vending machine using alloy . I want to write functons which for following things.if coin is inserted chocolate will come.different chocolates are assigned for differnet coins lik1 1 rs,2 rs and 5 rs.if 2 rs coin is inserted and want chocolates of 1rs only then 1 rs should return back
dnyan1
0
Newbie Poster
dnyan1
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.