Answer: The following code is in c++
#include <iostream>
#include<math.h>
using namespace std;
int main()
{
float a,b,c;
cout<<"Enter height and base of triangle\n";
cin>>a>>b; //reading two sides from user
c=sqrt(pow(a,2)+pow(b,2)); //calculating hypotenuse
cout<<"Length of hypotenuse is "<<c; //printing third side of triangle
return 0;
}
OUTPUT :
Enter height and base of triangle
3
4
Length of hypotenuse is 5
Explanation:
In the above code, three variables a, b and c of int type are declared. After that, it is asked from user to enter the value of a and b. The user puts the value and then c is calculated with the help of Pythagoras theorem formulae which squares the values of two sides and then adds them to calculate hypotenuse of a right angled triangle and finally c is printed to console.
The <DEL> or <Delete> key makes the first character AFTER the cursor
disappear, and everything after it then moves back one space to close up
the hole.
Example:
If I have this in my document ... Most trees are green.
And my cursor is after the 'a', like this: Most trees a|re green.
Now, if I hit the <delete> key, it deletes the
'r' after the cursor, and the hole closes up,
and the cursor stays where it is: Most trees a|e green.
Answer:
Great!
Explanation:
I use mobile phone and i use it as exmergency phone
Answer:
In the time complexity, the array-list can easily be accessible any type of element in the the given list in the fixed amount of time.
On the other hand, the linked list basically require that the list must be traversed from one position to another end position.
The Array-List can get to any component of the rundown in a similar measure of time if the file value is know, while the Linked-List requires the rundown to be crossed from one end or the other to arrive at a position.
Three major functions of a game engine would be Physics, Programming, and an audio engine should be some major functions of a game engine.