Answer the question
In order to leave comments, you need to log in
How to make the Calculator infinite in C#?
Hello! There was such a topic that I wrote a simple calculator . I want to put the entire if condition in a while . But when I select a number, an operation and a second number, just when I display the result, the loop goes to infinity.
Here's how I do it:
while (true)
{
*And here the if* condition itself is natural
}
PS I'm a beginner in C#
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question