Advertisement
Guest User

Untitled

a guest
Dec 14th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main() {int wynik=Funkcja(5);//a to w matematyce //zapis f(5) dla funkcji f(x)=2x(zapisanej niżej)
  4.  
  5. Return wynik;
  6.  
  7. }
  8. int Funkcja(int x){//ta funkcja jest odpowiednikiem
  9. //funkcji f(x)=2x w matematyce
  10. x=2x
  11. return x ;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement