Answer:
Explanation:
def computeCommission(salesAmount):
commission=0
if salesAmount <= 50000:
commission = 5000*0.08 + (salesAmount-5000)*0.1
elif salesAmount > 50000:
commission = 5000*0.09 + (salesAmount-5000)*0.12
return commission
print("commission for 45000 : "+str(computeCommission(45000)))
print("commission for 54000 : "+str(computeCommission(54000)))
Answer:
The answer is "Option B".
Explanation:
When the technician detects a smoke smell, which is coming from the computer system it means it will sort to solve this problem the technician will shut the system down and substitute electricity, at this, it overcomes the problem, and wrong choices can be defined as follows:
- In choice A, It is wrong because in this system component may be destroyed.
- In choice C and D both are wrong because it is not a software and side panel problem.-
Answer:
Option c is correct.
Example :
public class Subject
{
public static void main(String [] args)
{
int ar[]={5,4,6,7,8};
System.out.println("the number of array elements are: ",ar.length);
}
}
Explanation:
The above program is created in java language in which Subject is a class name.Inside Subject class , there is main method.
Inside the main method, there is An array named 'ar' which data type is an integer and we have assigned the value to this array.
in the next line, we are printing the total no. of the element in the array with the length function which displays the length of an array or variable.
Answer:
Bridges
Explanation:
A bridge is a transition effects that separates network traffic at the network's edge. By splitting a local area network into two parts, bridges minimise the number of bandwidth.