Computer Science, asked by bhoomioswal026, 7 months ago

Define a class with methods to do the following:
to accept a 5 digit integer from the user, using Scanner class
Print error message if the number of digits are greater than or lesser than 5
Print the sum of cube of its digits​

Answers

Answered by kanishkstd
1

Explanation:

hope this will help you

Attachments:
Similar questions