Skip to content

Instantly share code, notes, and snippets.

@ramoscarlos
Created August 24, 2015 03:25
Show Gist options
  • Select an option

  • Save ramoscarlos/42c52e4cef7e2904e533 to your computer and use it in GitHub Desktop.

Select an option

Save ramoscarlos/42c52e4cef7e2904e533 to your computer and use it in GitHub Desktop.
Encabezado de objeto "Chicharronera"
#ifndef CHICHARRONERA_1_0
#define CHICHARRONERA_1_0
class Chicharronera
{
private:
float a;
float b;
float c;
float b_cuadrada_menos_cuatro_a_c();
float calcular_raiz();
public:
Chicharronera(float a, float b, float c);
float raiz1();
float raiz2();
void imprimir_datos();
};
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment