Advertisement
kirya_shkolnik

Зимовец - 1

Feb 24th, 2021
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. double workA(double F, double L, double alfa){
  6.     double A = F * L * cos(alfa);
  7. }
  8.  
  9. int main()
  10. {
  11.     double F, L, alfa, beta, A1, A2;
  12.     cin >> F >> L >> alfa >> beta;
  13.     A1 = workA(F, L, alfa);
  14.     A2 = workA(F, L, beta);
  15.     cout << A1 << A2;
  16.     return 0;
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement