Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- //http://pastebin.com/YkZauxj1
- int main(){
- float area =0,base=0,altura=0;
- printf("Digite o valor da Base: ");
- scanf("%f",&base);
- printf("Digite o Valor da Altura: ");
- scanf("%f",&altura);
- area = (altura*base)/2;
- printf("Resultado %.2f",area);
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement