Write a program in Java to ask the user to enter any 10 numbers and print the
product of only those numbers whose last digit is 6.
Answers
Answered by
1
Answer:
General Algorithm for product of digits in a given number:
Get the rightmost digit of the number with help of remainder '%' operator by dividing it with 10 and multiply it with product. Divide the number by 10 with help of '/' operator. Print or return the product.
Explanation:
Please mark my answer as a brainliest
Answered by
0
Answer:
106 answer
Explanation:
your answer is 106
Answer:
General Algorithm for product of digits in a given number:
Get the rightmost digit of the number with help of remainder '%' operator by dividing it with 10 and multiply it with product. Divide the number by 10 with help of '/' operator. Print or return the product.
Explanation:
Please mark my answer as a brainliest
Similar questions