Search
 
SCRIPT & CODE EXAMPLE
 

C

como programar a area de um triangulo em c

#include <stdio.h>

int main()
float area,base,altura;
 printf("
 Informe a base do triângulo: ");
 scanf("%f",&base);
 printf("
 Informe a altura do triângulo: ");
 scanf("%f",&altura); 
 area=(base*altura)/2;
  printf("
 Area do triângulo=%.1f
",area);
 return 0;

Comment

PREVIOUS NEXT
Code Example
C :: octave square each element matrix 
C :: Which of the following are Cetaceans? 
C :: how to map one value to another in C 
C :: check if string starts with c 
C :: sum of list in C 
C :: nginx reverse proxy nextcloud 
C :: Using PostgreSQL array to store many-to-many relationship using sqlalchemy 
C :: prime check in c 
C :: font awsome circle info icon 
C :: c static 
C :: printf signed char 
C :: how to read space separated words in c 
C :: nested loop in c 
C :: string compare c 
C :: printf type format 
C :: c check if character is a digit 
C :: c program strtok use 
C :: install tweaks ubuntu 
C :: Access denied creating xampp-control.ini 
C :: 2 bytes integer c 
C :: how to get input in 2d array in c 
C :: replacing a character in string in C 
C :: ft_putchar 
C :: c find last element in array 
C :: highest common factor algorithm in c 
C :: mongodb read 
C :: sockaddr_in c 
C :: build a linked list in c 
C :: c defined 
C :: c conventions 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =