Funcion

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Funcion as PDF for free.

More details

  • Words: 142
  • Pages: 2
#include <stdio.h> #include #include <math.h> double raiz(float a, float b, float c, float d, float e); double valor_absoluto(float a, float b, float c, float d, float e); double exponente (float a, float b, float c, float d, float e ); main() { float a, b, c, d, e; clrscr(); printf("\t\tBIENVENIDO\n\n"); printf("Ingrese el valor de a, por favor:\n"); scanf("%f", &a); printf("Ahora el valor de b:\n"); scanf("%f",&b); printf("Ahora el valor de c:\n"); scanf("%f",&c); printf("Ahora el valor de d:\n"); scanf("%f",&d); printf("Ahora el valor de e:\n"); scanf("%f",&e); printf("Ahora el valor de f"); scanf("%f,&e"); return 0; } double raiz(float a, float b, float c, float d, float e) { float x; double y; x=a+b;

y=sqrt(x); return (y); } double valor_absoluto(float a, float b) { float x; double y; x=a-b; y=fabs(x); return (y); } double exponente (float a, float b) { double x; x=pow(a,b); return (x); }

Related Documents

Funcion
October 2019 58
Funcion
April 2020 23
Funcion
May 2020 25
Funcion
August 2019 34
Funcion O
July 2020 5
Funcion Renal
October 2019 28