The INPUT code of the given programme in Java would be as given below:
In this first we are taking input of two integers j and k from the user and then performing the required operations over it
import java.util.
Scanner; public class LabProgram {
public static void main(String[ ] args) {
Scanner scnr = new Scanner(System.in);
int i,j;
i = scnr.nextInt();
j = scnr.nextInt();
if(i<=j) {
int k = i;
while (k <= j) {
System.out.print(k + " ");
k = k + 5;
}
System.out.println();
}
else{
System.out.println("Second integer can't be less than first.");
}
}
}
Learn more about Java Programming here:
brainly.com/question/18554491
#SPJ10
Office Open XML (OOXML) format was introduced with Microsoft Office 2007 and became the default format of Microsoft Word ever since. Pertaining file extensions include: .docx – Word document. .docm – Word macro-enabled document; same as docx, but may contain macros and scripts.
Hi,
The answer should be letter A.