how should i take negative inputs in an array
Input negative values
the int data type allows you to take both negative and positive values as inputs. So if your array is of type int then you can input a negative number just like any other number. Are you facing any problem while doing this? If yes then please share your code so I can help you better
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.