Advertisement
Nurbo

Arredondamento

Jan 16th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. //#include <math.h>
  2.  
  3. int main()
  4. {
  5.     float valor, arredondado;
  6.     valor = 1.02;
  7.     arredondado = ceil(valor);
  8.     printf("Valor arredondado %f",arredondado);
  9.     return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement