This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include<math.h> | |
using namespace std; | |
#include "joan.h" | |
int main() | |
{ | |
hipotenuza objh; | |
objh.cargar_datos(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() { | |
runApp( | |
MaterialApp( | |
debugShowCheckedModeBanner: false, | |
home: Scaffold( | |
backgroundColor: Colors.black, | |
appBar: AppBar( | |
title: Text("Soy kevin Programador"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
#include "salario.h" | |
void Salario::Calcular_S() | |
{ | |
cout<<"Horas Trabajadas ?"<<endl; | |
cin>>S; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef Salario_h | |
#define Salario_h_h | |
class Salario{ | |
public://Atributos | |
double K; | |
double H; | |
double S; | |
//Metodos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
#include "salario.h" | |
int main() | |
{ // crear objeto | |
Salario Sueldo; | |
// Llamar Metodo | |
Sueldo.Calcular_S(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
main() { | |
runApp( | |
MaterialApp( | |
debugShowCheckedModeBanner: false, // quitar banner rojo | |
home: Galeriafotos(), | |
), | |
);// fin de runApp | |
}// fin de main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
#include "gomez.h" | |
int main() | |
{//creando el objeto a partir de la Clase Figura | |
Figura Rectangulo; | |
//Asignar Valores | |
Rectangulo.h=7; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef rectangulo_h | |
#define rectangulo_h | |
class Figura{ | |
public:// Atributos | |
double A; | |
double b; | |
double h; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
#include "gomez.h" | |
// Metodos | |
void Figura::Calcula_Area() | |
{ | |
A=b*h; | |
cout<< "gomez.cpp_____Area Rectangulo = "<<A<<endl; |