Problem Statement: We assume that the standard input contains a sequence of non-zero integers betwe
Problem Statement: We assume that the standard input contains a sequence of non-zero integers between – 121 and 121, which ends with 0. This sequence will be given by the user. 1. Write an algorithm, called Decomposition_Powers_Three, which produces the decomposition of each integer using powers of 3, namely 1, 3, 9, 27, and 81, […]