What is Basic Salary and Annual Salary?

Answer:
Write a program which takes any 4-digit number from the user and prints this number vertically that is I digit line and then displays the sum of all the digits.
Note: There are comments associated with this question. See the discussion page to add to the conversation.
First answer by Sajidkashan191. Last edit by Sajidkashan191. Contributor trust: 0 [recommend contributor recommended]. Question popularity: 5 [recommend question].