TENGO UN EXAMEN FINAL Y..
ME PIDEN QUE LEA UN VECTOR Y LUEGO QUE INGRESE A UN MENU Y ME PIDE 1.- 1.- 1.- ORDENAR, 2.- ELIMINAR, 3.- ETC.
COMO LO HAGO?
TENGO AVANZADO ESTO.
Código
#include "stdafx.h" #include <conio.h> #include <stdio.h> //Ingresar Elementos void Leer (int n,float x[]) { int i; for(i=1;i<=n;i++) { } } //Programa Principal int _tmain(int argc, _TCHAR* argv[]) { int n,opcion; float A[50]; //AYUDA EN ESTA PARTE //opcion=menu(); //switch (opcion) //{ //1 : ORDENAR //2 : ELIMINAR //. // . //. //3 : SALIR //} // mostrar(n,A); }
SALUDOS KOKONUT