234,511 views
22 votes
22 votes
Read an integer number from the user. If the number is not positive, change its sign. Create the algorithms for the following tasks:

(Written In Pseudocode)

Count the digits of the number

Count the odd digits of the number

Calculate the sum of the digit values of the number

User Cabbibo
by
2.3k points

1 Answer

10 votes
10 votes

Answer:

I'm not sure how you'd write in pseudocode but here it is

Read an integer number from the user. If the number is not positive, change its sign-example-1
User Akshay Patil
by
3.0k points