Answer : computer
Explanation:
please mark me as brilliant
The program illustrates the concepts of loops and conditional statements.
<h3>The complete program</h3>
The program written in Python, where comments are used to explain each line is as follows:
start = int(input())
end = int(input())
for i in range(start, end+1):
if i%3 == 0 and i % 6 !=0:
print(i,end = " ")
Read more about python programs at:
brainly.com/question/13246781
#SPJ1
Answer:
Explanation:
The following program creates a function called region_Matches that takes in two strings as arguments as well as an int for starting point and an int for amount of characters to compare. Then it compares those characters in each of the words. If they match (ignoring case) then the function outputs True, else it ouputs False. The test cases compare the words "moving" and "loving", the first test case compares the words starting at point 0 which outputs false because m and l are different. Test case 2 ouputs True since it starts at point 1 which is o and o.
class Brainly {
public static void main(String[] args) {
String word1 = "moving";
String word2 = "loving";
boolean result = region_Matches(word1, word2, 0, 4);
boolean result2 = region_Matches(word1, word2, 1, 4);
System.out.println(result);
System.out.println(result2);
}
public static boolean region_Matches(String word1, String word2, int start, int numberOfChars) {
boolean same = true;
for (int x = 0; x < numberOfChars; x++) {
if (Character.toLowerCase(word1.charAt(start + x)) == Character.toLowerCase(word2.charAt(start + x))) {
continue;
} else {
same = false;
break;
}
}
return same;
}
}
I think its A. an on-demand service that helps to access shared computing and storage resources from anywhere using an Internet connection