// Programm Strom und Leistung Burak Sirin 28.09.2010
#include <iostream.h>
#include <conio.h>
int main()
{
float fU,fI,fR,fP;
gotoxy(5,4);cout<<"Geben Sie bitte die Spannung ein: ";
gotoxy(5,5);cout<<"Geben Sie bitte den Widerstand ein: ";
gotoxy(5,7);cout<<"***************************************";
gotoxy(5,9);cout<<"Die Stromstaerke betraegt: ";
gotoxy(5,10);cout<<"Die Leistung betraegt: ";
gotoxy(40,4);cin>>fU;
gotoxy(42,5);cin>>fR;
fI=fU/fR;
fP=fU/fI;
gotoxy(33,9);cout<<fI;
gotoxy(29,10);cout<<fP;
getch();
}