Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- int main()
- {
- float value,value2,med;
- printf("Entre com os valores desejados : \n"); scanf("%f %f",&value,&value2);
- med = (value+value2)/2;
- printf("Media = %f\n",med);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment