aayushi-droid / Edabit-Solutions

Edabit Solutions using Cpp(C++)
MIT License
39 stars 154 forks source link

Add solution to hitting the jackpot #286

Closed Madhur215 closed 3 years ago

Madhur215 commented 3 years ago

Description

Create a function that takes in an array (slot machine outcome) and returns true if all elements in the array are identical, and false otherwise. The array will contain 4 elements.

Program Name - Hitting The Jackpot Issue No.- #213

Checklist(self check)