Answer:
public class Triangle
{
public static void main( String[] args )
{
show( 5 );
}
public static void show( int n )
{
int i,j,k;
for (i = 0; i < n - 1; i++ )
{
for (j = 0; j < i; j++ )
{
System.out.print( " " );
}
for (k = n - i; k > 0; k-- )
{
System.out.print( "* " );
}
System.out.println();
}
for (i = 0; i < n; i++ )
{
for (j = n - i; j > 1; j-- )
{
System.out.print( " " );
}
for (k = 0; k < i + 1; k++ )
{
System.out.print( "* " );
}
System.out.println();
}
Answer:
Yes, we can.
Explanation:
We can combine with the arithmetic and the concatenation operators to provide augmented assignment operations in the programming language Python.
This mean we can abbreviate expressions like n = n + 1
For example:
n += 10 this is equal to n = n + 10
n += "example" this is equal to n = n + "example"
In this example we have
variable = variable operator expression equal to variable operator = expression.
These arguments are often used in Python's loops.
Answer:
yes there is an answer to this question
Answer:
<h3>
<em><u>C</u></em><em><u>.</u></em><em><u> </u></em><em><u> </u></em><em><u>City</u></em><em><u> </u></em><em><u>and</u></em><em><u> </u></em><em><u>state</u></em><em><u> </u></em><em><u>where</u></em><em><u> </u></em><em><u>it</u></em><em><u> </u></em><em><u>was</u></em><em><u> </u></em><em><u>published</u></em></h3>
Explanation:
<h3>#CarryOnLearning</h3>