Using the computer language in python to write a function code that calculates the area of a rectangle.
<h3>Writting the code in python:</h3>
<em>def rectangle_area(base, height):</em>
<em> z = base*height # the area is base*height</em>
<em> print("The area is " + str(z))</em>
<em>rectangle_area(5,6)</em>
See more about python at brainly.com/question/18502436
#SPJ1
Answer:
The correct answer for the given question is Integer.parseInt( string variable );
Explanation:
Integer.parseInt( string variable ); is the method in a java programming language that convert the string into the integer value. It takes a string variable and converted into the integer.
Following are the program in java which convert the string value into an integer value.
class Main
{
public static void main(String []args) // main function
{
String str1 = "10009";
// variable declaration
int k = Integer.parseInt(str1);
// convert the string into integer.
System.out.println("Converted into Int:" + k);
}
}
Output:
Converted into Int:10009
Convert.toInt( stringVariable );
Convert.parseInt( stringVariable,Integer.toInt( stringVariable ); are not any method to convert the string into integer .
Therefore the correct answer is :Integer.parseInt( stringVariable );
The sensor of a mouse connected to the computer or the touch pad being touched and swiped around on
Answer:
Policy manual
Explanation:
A written document that is designed by the company to decide the rules and regulations for the employee to guide them about attendance and evaluation to achieve the desired goals is called Policy manual.
A handbook is provided to the employee at the time of joining of Job. All the policies related to employee such as dress code, attendance policy and evaluation policy. All the rules and regulations related to office are also present in this document.
The purpose of this document is to inform the new employees about guidelines of the company.
Answer:
DiffServ
Explanation:
The IP QoS which is fully known as QUALITY OF SERVICE mechanism that involves prioritizing traffic is DIFFERENTIATED SERVICES (DiffServ).
DIFFERENTIATED SERVICES help to differentiate ,arrange ,manage, control and focus on network traffic that are of great significance or important first before network that are less important or by their order of importance in order to provide quality of service and to avoid network traffic congestion which may want to reduce the quality of service when their is to much load on the network .