Skip to content

Instantly share code, notes, and snippets.

@wviana wviana/
Created Jan 30, 2017

What would you like to do?
package imc;
public class Paciente {
double peso; // atributos da classe paciente
double altura;
double metros;
public Paciente(double peso, double altura , double metros){// construtor da classe paciente
public double calcularImc(){
double imc = peso / (altura * (metros));
return imc;
public String diaginostico(){
return null;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.