r/programminghelp • • Nov 09 '20

Other Algorithm (pseudocode and flowchart)

I am confused with a problem that asks to create a program that extracts and adds the two least significant digits of an integer. It does not provide a specific integer so any given integer will do and it is asked to create a pseudocode on how to get it. I have tried dividing a certain number by 10 and 1 to get the two least significant digits but it doesn't have the correct outcome. Will someone be so kindly help and explain it to me.

4 Upvotes

1 comment sorted by

View all comments

0

u/[deleted] Nov 09 '20

[deleted]

1

u/lehross Nov 09 '20

Thank you!! :)