Answer:
public class Main
{
public static void printString(String strText, int intNumber) {
for(int i=0; i<intNumber; i++){
System.out.println(strText);
}
}
public static void main(String[] args) {
printString("Brainly", 3);
}
}
Explanation:
- Define a function called <em>printString</em> that takes two parameters - a String and an int. Since the function will print out the given String, it's type will be <u>void</u>.
- Use <em>for loop</em> to iterate according to the given number and print the given string
- In the main, call the <em>printString </em>function with some parameters.
Answer:
Subtraction
Explanation:
That is subtracting the values of two cells.
You know because of the "-" sign
Icon need to use 20 characters <span />
A computer is a electronic that helps you access the internet/WiFi