@Andreosc

Hemocentro

updated May 13, 2021 · C
#include <stdio.h>
#include <string.h>

typedef struct data
{
    int dia;
    int mes;
    int ano;
}DATA;

typedef struct dados

Concessionária

updated May 13, 2021 · C
#include <stdio.h>
#include <string.h>

typedef struct Veiculo
{
    char marca[20];
    char modelo[20];
    char nomep[30];
    int Ttanque;
}veiculo;
#include <stdio.h>

int main() {
    
    int vetor[5] = {53,22,32,52,65};
    
    int menor = vetor[0];
    int maior = vetor[0];
    
    for(int i = 0; i < 5; i++)
    {

Carros

updated May 04, 2021 · C
#include <stdio.h>
#include <stdlib.h>

typedef struct carros
{
    char marca[15];
    int ano;
    char cor[10];
    int preco;
}CARROS;

Apartamentos

updated May 04, 2021 · C
#include <stdio.h>
#include <stdlib.h>

typedef struct info
{
    char nome[20];
    int num;
    float area;
    int moradores;
    float valor;
}INFO;