Started by Main, 6 years ago
Posted on: Sep 30 2018 11:41:42 pm
Einfach genuch
Posted on: Sep 30 2018 11:41:46 pm
Mario
Posted on: Sep 30 2018 11:42:09 pm
//
//conversion - Program to convert temperature from
// Celsius degrees into Fahrenheit:
// Fahrenheit = Celsius * (212-32)/100+32
//
#include <cstdio>
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int nNumberofArgs, char* pszArgs[])
{
// enter the temperature in Celsius
int celsius
;cout << "Enter the temperature in Celsius:";
;cin >> celsius;
// convert Celsius into Fahrenheit values
int fahrenheit
;fahrenheit = celsius * 9/5 + 32;
// output the results (followed by a NewLine)
;cout << "Fahrenheit value is:";
;cout << fahrenheit << end1;
// wait until user is ready before terminating program
// to allow the user to see the program results
;cout << "Press Enter to continue..." << end1;
;cin.ignore(10, '\n');
;cin.get();
return 0;
}
Posted on: Sep 30 2018 11:42:26 pm
aaaaaaaaaaaaaaaaaaaaaa
Posted on: Sep 30 2018 11:42:30 pm
give it now
Posted on: Sep 30 2018 11:42:44 pm
Ok
Posted on: Sep 30 2018 11:43:14 pm
Here you go! ;)
https://n9y1p84rjez40zrnf4bl.cubash.com/forum/post?id=1162