Course Hero Logo

Exercicio1.cpp - } #include conio.h #include stdio.h ...

This preview shows page 1 out of 1 page.

#include <conio.h>#include <stdio.h>main(){float base, altura, area;printf("Qual a base do triangulo:");scanf("%f",&base);printf("Qual a altura do triangulo:");
End of preview. Want to read the entire page?

Upload your study docs or become a

Course Hero member to access this document

Term
Spring
Professor
Flavio Vaz
Tags
float base, E DE

Unformatted text preview: scanf("%f",&altura); area = (base*altura)/2; printf("A area do triangulo e de: %1.1f",area); getch(); }...
View Full Document

Newly uploaded documents

Show More

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture