Answer:
Explanation:
The following code is written in Java and uses a for loop with a series of IF ELSE statements to check the next and previous characters in a string. Checking to make sure that there are no asterix. If so it adds that character to the String variable output. Which is returned to the user at the end of the method. Two test cases have been created and the output can be seen in the attached image below.
class Brainly {
public static void main(String[] args) {
System.out.println(starOut("sm*eilly"));
System.out.println(starOut("ab**cd"));
}
public static String starOut(String str) {
String output = "";
for (int i = 0; i < str.length(); i++) {
if ((i != 0) && (i != str.length()-1)) {
if ((str.charAt(i-1) != '*') && (str.charAt(i+1) != '*') && (str.charAt(i) != '*')) {
output += str.charAt(i);
}
} else {
if ((i == 0) && (str.charAt(i) != '*') && (str.charAt(i+1) != '*')) {
output += str.charAt(i);
} else if ((i == str.length()-1) && (str.charAt(i) != '*') && (str.charAt(i-1) != '*')) {
output += str.charAt(i);
}
}
}
return output;
}
}
your answer is b. i know this because oil is a chemical.
Answer:
periodical databases
Explanation:
Among the various databases you can now access in a library, the periodical databases contains the text and other information about articles published in magazines, journal and newspapers.
This database allows you for example to easily search for all articles written about a specific event or person, and it will return you the list of articles you can then read from a single spot, no matter where or when the article was written.
Answer:
huge\color{blue}\boxed{The}\huge\color{pink}\boxed{Points
Based on the Microsoft Excel data validation, the option that is not an Error Style for data validation is the <em><u>choice that does not show an error alert.</u></em>
Given that there is no option available, the best way to answer this question is to show the types of Error Styles for data validation available.
<h3>Different types of Error Style for data validation</h3>
- Stop style: this will bring the option of "Retry, " "Cancel, " and "Help."
- Warning style: this will show "Continue," with options of "Yes," "No," "Cancel," and "Help."
- Information Style: this will ask you to input the whole number with the option of "Ok," "Cancel," and "Help."
Hence, in this case, it is concluded that the Error Style for data validation is Stop, Warning, and Information Style.
Learn more about Error Style for data validation here: brainly.com/question/18497347