+ 1
Menu Driven Program in C#
Can anyone help me to create a console program in C# on simple stock adding,stock displaying,stock selling and displaying the bill of the stock sold.
2 ответов
+ 1
to break the loop use the 'break' keyword
+ 1
where's the problem?
i would just create a class with price, title, custom text etc.
put that in a queue or any other type of list.
in a console program i would take a while(true) loop and asking for more data while giving the user the option to finish the process
then i would iterate (dequeue) through the list and print all data