+ 1
How do i solve this challenge using functions in c++?
Create a programme that checks whether or not a certain integer entered by the user is a palindrome or not: bool isPalimdrome(int x){ //code here} Int main(){ Int n; Cin>>n; If(isPalindrome(n)){ Cout<<n <<" is a palondrome"; } else{ cout<<n <<" is not a palindrome"; } }
1 Answer
+ 3
There are many examples you can learn from in Code Playground, just be creative to use the search facility to find what you need đ