Advertisement
jstrozer6

Untitled

Jan 8th, 2016
3,342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Made by Joze Strozer */
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4. #include <ctype.h>
  5. #include <string.h>
  6. #include <math.h>
  7.  
  8. int main()
  9. {
  10.     float eksponent;
  11.     float stopnja;
  12.     int result;
  13.  
  14.     printf("Eksponent - ");
  15.     scanf(" %f", &eksponent);
  16.  
  17.     printf("Stopnja - ");
  18.     scanf(" %f", &stopnja);
  19.  
  20.     printf("Rezultat - %.0f", pow(eksponent, stopnja) );
  21.  
  22.     return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement