Answer:
public class Main
{
public static void main(String[] args) {
System.out.println(starString(4));
}
public static String starString(int n){
double p = Math.pow(2,n);
String s = "";
for(int i=0; i<p; i++)
s += "*";
return s;
}
}
Explanation:
Create a method named starString that takes an integer parameter, n
Get the 2 to the nth power using pow method and set it to the p
Create an empty string that will hold the asterisks
Create a for loop that will iterate p times. Inside the loop, concatenate an asterisk to the s
Return the s
Inside the main method, call the method with an integer parameter
Adding a table to a document can be done in Microsoft Word using the insert ribbon, the insert ribbon are mostly used for adding options to a document.
- The insert ribbon is a multi functional ribbon which has up to about 10 different useful groups for adding elements to a document.
- Some of the groups on the insert ribbon include ; Pages, Text, Header & Footer, Tables, illustrations, Links, Media and so on.
- The Table group in the insert ribbon allows different table adding options such as inserting an already existing table, drawing a new table or importing an excel table.
Therefore, adding a table to a document is performed from the insert ribbon in Microsoft Word.
Learn more:brainly.com/question/21842366?referrer=searchResults
Answer:
script kiddies
Explanation:
script kiddies is used to describe individuals who want to attack computers yet lack the knowledge of computers and networks needed to do so
Answer:
A
Explanation:
They needed to follow the food/buffalo

<u>ANSWER:</u>
<u></u>
C.
Hopefully, this helps you!!
