Prévia do material em texto
Chapter 1.1, Problem 3E Step-by-step solution Step 1 of 1 Algorithm of adding Two Positive Decimal Integers Consider two numbers a and b. This is very basic algorithm to return the sum of two positive decimal integers. Here input parameters are two decimal integers a and b and output parameter C, which is a decimal integer (sum of two decimal integers). Algorithm to find the sum of two positive decimal integers is as follows: sum(a, b) return