Advertisement
dzieciol

laboratorium I zadanie 5

Oct 22nd, 2015
445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(int argc, char *argv[]) {\
  5. int x,w;
  6.  
  7.    
  8.     printf("Podaj x \n");
  9.     scanf("%d",&x);
  10.     w=3*(x*x*x)+2*(x*x)+4*x+10;
  11.     printf("Wartość wielomianu wynosi %d", w);
  12.  
  13.  
  14.    
  15.  
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement