asked 45.6k views
0 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

asked
User Kym NT
by
8.4k points

1 Answer

4 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
answered
User Jpmottin
by
8.9k points