SlideShare uma empresa Scribd logo
1 de 3
UNIVERSIDAD FERMIN TORO
CABUDARE EDO – LARA

Programa suma y multiplica

INTEGRANTE:
MARIA FLORES C.I:18863120
Programa suma y multiplica
# include<stdio.h>
# include<stdlib.h>
# include<string.h>
# include<conio.h>
# include<ctype.h>

float leer()
{
float valor;
printf("valor decimal :");
scanf("%f",&valor);
return valor;

}
float Sumar(floata,float b)
{
returna+b;
}

floatMultip(floata,float b)
{
return a*b;
}

intmain()
{
float a=leer();
float b=leer();
printf("LA SUMA ES %fn",Sumar(a,b));
printf("LA Multiplicacion ES %fn",Multip(a,b));
getche();
}

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Switch
SwitchSwitch
Switch
 
10740737 1599055096995598 1135912358_n
10740737 1599055096995598 1135912358_n10740737 1599055096995598 1135912358_n
10740737 1599055096995598 1135912358_n
 
Palindrome number program c
Palindrome number program cPalindrome number program c
Palindrome number program c
 
week-1x
week-1xweek-1x
week-1x
 
Project filter matlab
Project  filter matlabProject  filter matlab
Project filter matlab
 
week-10x
week-10xweek-10x
week-10x
 
Bcsl 033 data and file structures lab s2-3
Bcsl 033 data and file structures lab s2-3Bcsl 033 data and file structures lab s2-3
Bcsl 033 data and file structures lab s2-3
 
C program to add two numbers
C program to add two numbers C program to add two numbers
C program to add two numbers
 
Najmul
Najmul  Najmul
Najmul
 
Bcsl 033 data and file structures lab s3-1
Bcsl 033 data and file structures lab s3-1Bcsl 033 data and file structures lab s3-1
Bcsl 033 data and file structures lab s3-1
 
Bcsl 033 data and file structures lab s2-1
Bcsl 033 data and file structures lab s2-1Bcsl 033 data and file structures lab s2-1
Bcsl 033 data and file structures lab s2-1
 
program in c
program in cprogram in c
program in c
 
week-18x
week-18xweek-18x
week-18x
 
Bcsl 033 data and file structures lab s4-2
Bcsl 033 data and file structures lab s4-2Bcsl 033 data and file structures lab s4-2
Bcsl 033 data and file structures lab s4-2
 
Add digits of number in c
Add digits of number in c Add digits of number in c
Add digits of number in c
 
Bcsl 033 data and file structures lab s2-2
Bcsl 033 data and file structures lab s2-2Bcsl 033 data and file structures lab s2-2
Bcsl 033 data and file structures lab s2-2
 
Bcsl 033 data and file structures lab s3-3
Bcsl 033 data and file structures lab s3-3Bcsl 033 data and file structures lab s3-3
Bcsl 033 data and file structures lab s3-3
 
2 3. standard io
2 3. standard io2 3. standard io
2 3. standard io
 
Ffffffffffff
FfffffffffffFfffffffffff
Ffffffffffff
 
C coding#1
C   coding#1C   coding#1
C coding#1
 

programa suma y multiplica

  • 1. UNIVERSIDAD FERMIN TORO CABUDARE EDO – LARA Programa suma y multiplica INTEGRANTE: MARIA FLORES C.I:18863120
  • 2. Programa suma y multiplica # include<stdio.h> # include<stdlib.h> # include<string.h> # include<conio.h> # include<ctype.h> float leer() { float valor; printf("valor decimal :"); scanf("%f",&valor); return valor; } float Sumar(floata,float b) { returna+b; } floatMultip(floata,float b) { return a*b; } intmain() { float a=leer(); float b=leer(); printf("LA SUMA ES %fn",Sumar(a,b));
  • 3. printf("LA Multiplicacion ES %fn",Multip(a,b)); getche(); }