daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Oct 13th, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main (void) {
  5.    double entrada, quintaParte;
  6.    printf ("Digite um numero: n");
  7.  
  8.    scanf ("%lf", &entrada);
  9.  
  10.    quintaParte = entrada * 1/5;
  11.    printf ("A quinta parte de %lf eh: n %lfn",  entrada, quintaParte);
  12.  
  13.    return 0;
  14. }
RAW Paste Data
Top