PDA

View Full Version : Pseudocde algorithm


flory41
Nov 19, 2008, 02:54 PM
write an algorith in pseudocode that takes 2 integer numbers as an input and determines whether the sum of digits of the 2 numbers is equal. Your algorithm should print a message stating whether the sum of digits of both numbers is equal or not. Hint : you can use the % operator example of prgram run input please enter 1st integer 256 please enter 2nd integer 760 output the sum of digits of both numbers is equal