PULGADAS - scanf("%f",&pul); cm=pul*2.54;...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
/*programa que transforma de pulgadas a centimetros*/ #include <stdio.h> #include <conio.h> void main() { float pul,cm; clrscr(); printf("inserta el numero de pulgadas\n");
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: scanf("%f",&pul); cm=pul*2.54; printf("\n %.3f centimetros \n",cm); getch(); }...
View Full Document

This note was uploaded on 05/27/2011 for the course SYSTEMS 101 taught by Professor Natalia during the Spring '11 term at Upper Iowa.

Ask a homework question - tutors are online