Java program to take input as DDMMYYYY and sum it as follows: DD+MM+YYYY

Viewed 25

i am trying to find solution to a Java program to take input as DDMMYYYY as add it as follows: DD+MM+YYYY

Requirement is that loops could be used and inbuilt functions can be used.

eg: 22091996 will print as 2027 (22+09+1996)

0 Answers
Related