I was developing a very simple calculator on the console and it needs a lot of if statements but non of them seem to be working! The code is the whole program with the first if statement that doen't work! PLS HELP!
Your description of what happens is very misleading and didn't help at all. As it is, your code doesn't compile because line 55 has a strange "az" on it.
Once I removed that, the following output was seen:
CALCULATOR
By Dhanin Unnithan
Please choose an operation:
1.Add
2.Subtract
3.Divide
4.Multiply
5.Modulo
6.EXIT
1
How many numbers would you like to add?
2
3
4
5
6
2
Please enter the first number:
1
Please enter the second number:
2
1 plus 2 is 3
Though if you choose that you want to add 3 numbers the program just ends!
Boom. An enormous amount of extra information that you previously gave no clue whatsoever about. As Dan says, you've screwed up your brackets, but what you most need to learn is how to ask a question. Simply holding up some code and saying it doesn't work is useless and will mean people don't answer.