0

How can I make it only give an answer if the bill is over 1500

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 bill = Convert.ToInt32(Console.ReadLine()); if (bill>1500); {Console.WriteLine(0.15*bill);} / } } }

28th Feb 2021, 11:33 PM
KIZZy Reem Quick
KIZZy Reem Quick - avatar
1 Resposta
0
Aghhhhhhh!! Thank you 😊
28th Feb 2021, 11:54 PM
KIZZy Reem Quick
KIZZy Reem Quick - avatar