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.
Answer:
Great!
Explanation:
I use mobile phone and i use it as exmergency phone
Answer:
Fill the slides with images and animations
Explanation:
these will most likely distract the audience
Answer:
1.Total debits must equal total credits
4.When posting to the accounts receivable account, you must specify a customer
5.You can post to multiple accounts receivable and/or accounts payable accounts in the same journal entry
Explanation:
1.
A Journal entry follows the concept of double-entry. In the double-entry principle, a debit entry equals a credit. After posting all the required entries total debits are equal to the total credits.
4.
The business makes sales to customers. Some sales are made on cash or some are made on credit. In the case of credit sales, the receivables are made. To record the credit sale entry we must specify the customer in the debit entry against the credit entry of sales.
5.
in recording the credit sales or purchases multiple receivable or payable accounts can be used and a single entry of sales of purchases can be posted against these accounts. For example
Journal Entry with multiple receivables accounts.
DR. Customers A $1,000
DR. Customers B $2,000
DR. Customers C $3,000
CR. Sales ______$6,000