Skip to content

Instantly share code, notes, and snippets.

View pizenblues's full-sized avatar
🏠
Working from home

Valentina Azocar pizenblues

🏠
Working from home
View GitHub Profile
case 4:{
int filaS =0, sumaf = 0;
cout<<endl;
printf("\t numero de la ciudad? - ");
read_input(filaS);
if(filaS <= tamano){
filaS -= 1;
for (int i = 0; i < tamano; i++){
sumaf += matriz[filaS][i];
if(matriz[filaS][i] != 0){
//valentina azocar ci 24753255
#include<iostream.h>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
template <class T>
void read_input(T &var){
while(! (cin>>var) ){
#include<iostream.h>
#include <stdio.h>
using namespace std;
template <class T>
void read_input(T &var){
while(! (cin>>var) ){
printf(" \t \t ingrese un numero: ");
cin.clear();
#include<iostream.h>
#include <stdio.h>
using namespace std;
template <class T>
void read_input(T &var){
while(! (cin>>var) ){
printf(" \t \t ingrese un numero: ");
cin.clear();
int ELIMINAR(int *vector){
if(_CONTADOR == 0){
printf("COLA VACIA\n");
return -1;
}
int dato = vector[0];
_CONTADOR--;
for (int i = 0; i < _CONTADOR; i++){
//valentina azocar ci 24753255
#include <iostream>
#include <stdio.h>
using namespace std;
template <class T>
void read_input(T &var){
while(! (cin>>var) ){
printf(" \t \t ingrese un numero: ");
cin.clear();
#include <iostream>
#include <stdio.h>
using namespace std;
struct Tiempo
{
int horas;
int minutos;
int segundos;
#include <iostream>
#include <stdio.h>
using namespace std;
struct Tiempo
{
int horas;
int minutos;
int segundos;