It's a great pleasure to talk with you . And thank you for giving suggestions to code in standard way. I think your code is more standard and more professional. thank so much bro . I will definitely try it now .
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Well done, another option would be :
(( number % 2 != 0 ) ? "This is a Odd number :)" : "this is a even number :)")
Good luck with #100daysofcode :) Gotta have guts, be brave!
I'm looking forward to see your progress.
Want to clarify in case OP doesnβt know: this refactoring is using the ternary operator :)
(Condition) ? CodeIfTrue : CodeIfFalse
Thank you for your suggestions bro. I will definitely try it next time.
No problem, I was where you were not long ago, it feels good to be able to understand a concept enough to pass it on!
It also takes the stress from If Statements haha
yes bro! π
It's a great pleasure to talk with you . And thank you for giving suggestions to code in standard way. I think your code is more standard and more professional. thank so much bro . I will definitely try it now .