Advertisement
Josif_tepe

Untitled

Mar 12th, 2024
880
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.     float a, b;
  6.     cin >> a >> b;
  7.    
  8.     cout << "Srednata vrednost na " << a << " i " << b << " e " << (a + b) / 2 << endl;
  9.    
  10.     return 0;
  11. }
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement