Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- using namespace std;
- double workA(double F, double L, double alfa){
- double A = F * L * cos(alfa);
- }
- int main()
- {
- double F, L, alfa, beta, A1, A2;
- cin >> F >> L >> alfa >> beta;
- A1 = workA(F, L, alfa);
- A2 = workA(F, L, beta);
- cout << A1 << A2;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement