Omg I would die to have your points because when I get on people call me a noob because I just got the app like 3 days ago and every time I answer a question some says noob like dang I just started
Answer:
public static void removeInRange(List<Integer> list, int value, int start, int end) {
for (int i = end - 1; i >= start; i--) {
if (list.get(i) == value) {
list.remove(i);
}
}
System.out.println(list);
}
Explanation:
- Create a method named <em>removeInRange</em> that takes four parameters, a list, an integer number, a starting index and an ending index
- Inside the method, initialize a <u>for loop</u> that iterates between starting index and ending index
- If any number between these ranges is equal to the given <em>value</em>, then remove that value from the list, using <u>remove</u> method
- When the loop is done, print the new list
Answer:
<em>Which function would you use if you wanted to count the number of values, but ignore the cells that have text or are empty</em>
<em>Which function would you use if you wanted to count the number of values, but ignore the cells that have text or are emptya COUNT</em>
<em>Which function would you use if you wanted to count the number of values, but ignore the cells that have text or are emptya COUNTb. COUNTA</em>
<em>Which function would you use if you wanted to count the number of values, but ignore the cells that have text or are emptya COUNTb. COUNTAc. COUNTBLANK</em>
<em>Which function would you use if you wanted to count the number of values, but ignore the cells that have text or are emptya COUNTb. COUNTAc. COUNTBLANKd. COUNTVALUES</em>
Is it where you can pick multiple answers