© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
189 replies
Array

Programming a menu on WinForms

Coding a Pizza menu selector that outputs the price, thinking i could mainly use if and else if statements along with “/n”, a bit stuck on how to make the values add together tho. Should I assign them as double datatypes? I got my code to work to just show them after pressing button, a bit stuck on the math I need to sum these and output a subtotal, make a tax variable and have a total. Anyone think they can help?

I actually was able to get the strings to show, just dont know how to do calculations
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

WinForms
C#CC# / help
2y ago
✅ Winforms
C#CC# / help
3y ago
❔ ✅ Winforms
C#CC# / help
3y ago
implement a GUI in winforms
C#CC# / help
3y ago