0

What is wrong with this code ?

I tried using this code on the skee ball code coach challenge ,but I didn't get all the test cases. So I was wondering if someone could tell me what's wrong with code.My language is c#. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { int points = 500; int tickets = 40; if (points / 12 >= tickets) { Console.WriteLine("Buy it!"); } else { Console.WriteLine("Try again"); } } } }

31st Mar 2020, 6:33 AM
Joseph Oritseweyinmi
Joseph Oritseweyinmi - avatar
1 Réponse
+ 1
Hi Joseph, When your question concerns a code, it is recommended for you to include your code link within the Description. People can't help you without taking a look at the code. If you already have the code in SoloLearn then just follow the guide below to share its link. If you haven't, then save a copy of the code in SoloLearn first. https://www.sololearn.com/post/75089/?ref=app
31st Mar 2020, 7:40 AM
Ipang