The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 4 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
What is the best DL software to practice C sharp by using this code??i am utilizing the examples but it appears that the sources that I am comparing are using a different softwareÂ
Module Module1
   Sub Main()
       Dim purchase As Decimal = 0
       Dim total As Decimal = 0
       Console.WriteLine("Enter an amount.")
       Console.WriteLine("Enter a value of -1 when complete.")
       Console.WriteLine()
       While purchase <> -1
           Console.Write("$")
           purchase = Console.ReadLine()
           If purchase >= 50 Then
               Console.WriteLine("         10% Discount: -$" & purchase * 0.1)
               purchase = purchase - (purchase * 0.1)
               Console.WriteLine("$" & purchase)
               total = purchase + total
           Else
               total = purchase + total
           End If
       End While
       Console.WriteLine()
       Console.WriteLine("Your total price is $" & total + 1)
       Console.ReadLine()
   End Sub
End ModuleÂ