Questions


September 2021 1 45 Report
Write a method Met that takes as parameters an integer and prints the first ten multiples of the integer.

Only write the method - assume that the Class & main method have been defined.

Print the multiples on a single line, separated by a space character. At the end of the line, print a new line.

Example Input: 5
Output: 5 10 15 20 25 30 35 40 45 50
Example Input: 7
Output: 7 14 21 28 35 42 49 56 63 70

Answers & Comments


Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.