You are on page 1of 1

Input a number from user and calculate sum of digits of that number: Input a number from user and

calculate product of digits of that number: Generate following output pattern using nested loops. 0 1 1 1 2 0 1 1 2 2 0 1 2 2 2 0

Generate following output pattern using nested loops.


\ * * * $ \ * * $ $ \ * $ $ $ \

You might also like