Conditions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Conditions

Diamond = 4 Condition is if (suit==spade) Coins-=3 Depending upon the conditions input the values of coins you should have Can anyone say how to calculate this

28th Sep 2018, 5:21 AM
Swathi H A
Swathi H A - avatar
5 Answers
0
How does it depend?
28th Sep 2018, 5:25 AM
Daniele Bonomi
Daniele Bonomi - avatar
0
Daniele suit is nothing but 52 cards
28th Sep 2018, 5:36 AM
Swathi H A
Swathi H A - avatar
0
I mean how should the input and the output should be? Can you link the code?
28th Sep 2018, 5:48 AM
Daniele Bonomi
Daniele Bonomi - avatar
0
Daniele its not a programm they given a logic and we should ans for that logic
28th Sep 2018, 6:00 AM
Swathi H A
Swathi H A - avatar