This file contains hidden or 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
{ | |
"provincias": { | |
"1": { | |
"nombre": "San José", | |
"cantones": { | |
"01": { | |
"nombre": "Central", | |
"distritos": { | |
"01": "Carmen", | |
"02": "Merced", |
This file contains hidden or 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
;Este programa calcula el area de un circulo a partir del radio ingresado | |
(defun AreaOfCircle() | |
(terpri) | |
(princ "Ingrese el radio: ") | |
(setq radius (read)) | |
(setq area (* 3.1416 radius radius)) | |
(princ "Area: ") | |
(write area)) | |
(AreaOfCircle) |
This file contains hidden or 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 ITEM_H | |
#define ITEM_H | |
#include<string.h> | |
#include<string> | |
class Item{ | |
double precioVenta, precioCompra; | |
int cantidad; | |
string nombre; | |
public: |