Compara Tres 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 Compara Tres Numeros En C as PDF for free.

More details

  • Words: 68
  • Pages: 1
#include <stdio.h> #include int main() { int a,b,c; printf("Introduce un numero\n"); scanf("%d", &a); printf("Introduce un numero\n"); scanf("%d", &b); printf("Introduce un numero\n"); scanf("%d", &c); if (a>b && a>c) { printf("%d es el mayor", a); } else { if (b>a && b>c) { printf("%d es el mayor", b); } else { if (c>a && c>b) { printf("%d es el mayor", c); } else { } } getch(); } }

Related Documents


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