Victor

  • November 2019
  • 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 Victor as PDF for free.

More details

  • Words: 115
  • Pages: 1
//funci�n toupper ansi c //int toupper(int ch); //convierte un car�cter, en un par�metro entero ch, a may�scula. //valor de retorno: //ch debe estar en el rango 0 a 255, y si est� entre a y z lo convierte a su equivalente en el rango a a z, el resto de los valores no son modificados. el valor de retorno es el valor convertido si ch era una min�scula, o el valor original en caso contrario. //nota: los caracteres en acentuados, o con di�resis, en min�scula y la � no sufren modificaciones. //ejemplo: #include <stdio.h> #include int main() { char cadena[25] int i; printf ("introduce texto"); scanf("%d",&cadena); cadena[i] = toupper(cadena[i]); printf("%s\n", cadena); return 0; }

Related Documents

Victor
November 2019 38
Victor
November 2019 40
Victor
May 2020 29
Victor
June 2020 21
Victor Cv
May 2020 6
Victor Alimpiev
June 2020 1