(Meta 2.3) conversion de grados centigrados a farenheit dev c++
1
#include <iostream> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int main(int argc, char** argv) { int centigrados, f; printf (" \n Ingrese la temperatura en grados centigrados: "); scanf("%d",¢igrados); f = (centigrados*(9)/5)+32; printf ("\n La temperatura es de: %d grados farenheit \n", f); return 0; }
-
Upload
elizabeth-foxworth -
Category
Engineering
-
view
131 -
download
3
Transcript of (Meta 2.3) conversion de grados centigrados a farenheit dev c++
![Page 1: (Meta 2.3) conversion de grados centigrados a farenheit dev c++](https://reader036.fdocuments.net/reader036/viewer/2022083000/55782598d8b42a9b438b48a6/html5/thumbnails/1.jpg)
#include <iostream>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int centigrados, f;
printf (" \n Ingrese la temperatura en grados centigrados: ");
scanf("%d",¢igrados);
f = (centigrados*(9)/5)+32;
printf ("\n La temperatura es de: %d grados farenheit \n", f);
return 0;
}