Computer Science, asked by CarrieVictoria, 5 months ago

Write a menu driven to accept a number and perform the following task:

1. check wherther it is a 4 digit number or not
2. Find the sum of the digits that are odd of the number .
3. Check whether the number is a palindrome number or not

Answers

Answered by bannybannyavvari
3

Answer:

Declare two variables: one stores the given number, and the other stores the reversed number.

Run the do-while loop until the number of digits in the reversed number are equal to the number of digits in the given number. ...

Check if the reversed number is equal to the given number.

Similar questions