Answer:
# include<cmath>
# include <iostream>
# include<stdio.h>
using namespace::std;
int main()
{
float a, b, c;
cout<<"Enter a (Perpendicular)"; cin>>a;
cout<<"Enter b (base)";cin>>b;
c= sqrt(pow(a,2) + pow(b,2));
cout<< "Hypotenuse="<<c;
return 0;
}
Explanation:
Please check the answer section.
<h2>6</h2>
The elements used in Qbasic:
- Character set.
- Variables.
- Constants.
- Operator and Operands.
- Expression.
- Statements.
Answer:
1. Always download the latest updates .
2. Don’t click on rogue links .
3.Secure your devices (long, complex password on your computer and phone, using Anti-virus/Anti-Malware program) .
The last answer seems most appropriate