Calcula El Max Y Min De Una Serie De Numeros En C

  • Uploaded by: Adrián Espinosa
  • 0
  • 0
  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Calcula El Max Y Min De Una Serie De Numeros En C as PDF for free.

More details

  • Words: 45
  • Pages: 1
#include <stdio.h> #include int main () { int n,max,min,num; printf("introduce un numero :\n"); scanf ("%d",&num); max=num; min=num; for (n=1;n<10;n++) { printf("Introduce otro numero :\n"); scanf("%d",&num); if (num>max) max=num; else; if (num<min) min=num; else; }; printf("El mayor es %d.\n",max); printf("El menor es %d.\n",min); getch(); }

Related Documents

Ejerc. De Max. Y Min.
June 2020 6
Max Y Min
July 2020 11
Max Y Min
November 2019 11
Max Min
June 2020 11

More Documents from ""

Calentamiento Global.pdf
April 2020 16
Expo-legislacion.pptx
November 2019 9
December 2019 16
Acordes Y Cancion Help.docx
November 2019 25