#include <iostream>
#include <cstdlib>
#include <cmath>
using namespace std;
int main()
{
	float R20, tempk, tempdiff, Rw;
	
	cout<<"Berechnung des Warmwiederstands"<<endl;
	
	//Einlesen der Variablen
	cout<<"R20 in Ohm: ";
	cin>>R20;
	cout<<"Temperaturkoeffizient in 1/K: ";
	cin>>tempk;
	cout<<"Temperaturdifferenz in Kelvin: ";
	cin>>tempdiff;
	
	//Berechnungen
	Rw=R20*(1+(tempk*tempdiff));
	
	//Ausgabe
	cout<<"Der Warmwiederstand betraegt: "<<Rw<<" Ohm"<<endl;
}


