Answer:
A, C, and D I believe.
Explanation:
I'm in the same class as you lol
Answer:
The correct code to the given question is
if ((counter % 10) == 0) // check the condition
{
System.out.println("Counter is divisible by ten: " + counter); // display
}
else // check the condition
{
System.out.println("Counter is not divisible by ten: " +counter); // display the //value
}
counter++; // increment the value of counter
Explanation:
Following are the description of code
- In the given question we have to check the condition that the given number is divisible by 10 or not .
- In the if block if the number is divisible by 10 then it print the value of number and increment the value of counter .
- In the else block if the number is not divisible by 10 then it print the value of number and increment the value of counter .
- It means the value of counter is increases in the if block as well as in the else block .So we have to remove the counter statement from there and place outside the if and else block .
Answer:
Explanation:
The following code is written in Python, the function creates various nested loops to loop through each individual string comparing letter by letter in order to find the longest common substring. Finally, returning the substring itself.
def shared_motif(dna_list):
substr = ''
if len(dna_list) > 1 and len(dna_list[0]) > 0:
for x in range(len(dna_list[0])):
for i in range(len(dna_list[0]) - x + 1):
if i > len(substr) and all(dna_list[0][x:x + i] in y for y in dna_list):
substr = dna_list[0][x:x + i]
return substr
arr = ["GATTACA", "TAGACCA", "ATACA"]
stems = shared_motif(arr)
print(stems)
In order to change the bounds of a chart axis after performing the aforementioned series of clicks, at step X: C. Type the number that you want in the text box.
A step chart can be defined as a line chart that uses both the vertical and horizontal lines to connect two (2) data points. Thus, it enables an end user to see the exact point on the X-axis when there is a change in the Y-axis.
In Microsoft Excel, the series of clicks that are used to change the bounds of a chart axis are:
- Select chart tools and then format tab.
- Select the current selection and then format selection.
- Click on format axis and then axis options.
- Click on vertical axis crosses.
- At category number, you should type the number that you want in the text box.
In conclusion, typing the number that you want in the text box is the action that should be performed at step X.
Read more on step chart here: brainly.com/question/9737411