Answer: i don't know someone do it
Explanation:
Font size, font style, and <em><u>typeface</u></em> are all aspects of character formatting.
Answer:
write down same applications of AI in agriculture,health,education, and business
Answer:
t
r
u
e
n .....................................................
Answer:
public static void dashedLinses(int num){
if(num>0){
for(int i=1; i<=num; i++){
System.out.print("-");
}
System.out.println();
}
}
}
Explanation:
- The function is written with Java programming language
- As required by the question, it accepts an int parameter and returns nothing.
- An if statement is used to check the condition of n greater than 0
- Using a for loop, it outputs a line whose length is determined by the value of the parameter
- A complete code with the main method is given below
<em>public class num9 {</em>
<em> public static void main(String[] args) {</em>
<em> int num= 2;</em>
<em> dashedLinses(num);</em>
<em> }</em>
<em> public static void dashedLinses(int num){</em>
<em> if(num>0){</em>
<em> for(int i=1; i<=num; i++){</em>
<em> System.out.print("-");</em>
<em> }</em>
<em> System.out.println();</em>
<em> }</em>
<em> }</em>
<em>}</em>