Answer:
b-Nested Loops
Explanation:
To create a 1-D array we use single loop.For example:-
int a[10];
for(int i=0;i<10;i++)
{
cin>>a[i];
}
Taking input of a 1-D array.
For creating a 2-D array we use nested loops.
int a[row][column];
for(int i=0;i<row;i++)
{
for(int j=0;j<column;j++)
{
cin>>a[i][j];
}
}
Hence the answer for this question is nested loops.
Answer:
try:
pH = float(input("Enter number between 0 to 14: "))
except ValueError:
print("input must be a number")
if pH < 7:
print("pH is Acidity")
elif pH == 7:
print("pH is neutral")
else:
print("pH is Base/alkaline")(
Explanation:
The try and except statement is used to check if the input is a number, if its not, the print statement is displayed. The nested if statement compares the pH input to know if it is an acid, base or neutral.
Answer:
Attend traings
Explanation:
Because if you do you can learn diffent waay to do it and choose your way that you like.
ANd do not obseve poeple who has it easy
Answer:
Computer ports are classified into two types based on the protocols used. A protocol is a set of rules and standards to be followed during data transfer and communication. Usually, data is transmitted in a particular pattern.
Explanation:
Explanation:
Mechanical engineer may design a gps for a vehicle.