//---- Programm Zahlenwerte --------------------------------- 26.10.2010
//---- Dennis Siegmund--------------------------------------------------
#include <iostream.h>
#include <conio.h>
void main()
{
float zahl1, zahl2, zahl3, wert=0;
gotoxy(15,1);cout<<"--------------------";
gotoxy(15,2);cout<<"Programm Zahlenwerte";
gotoxy(15,3);cout<<"--------------------";
gotoxy(5,5);cout<<"Gebe einen Wert fuer die 1.Zahl ein: ";cin>>zahl1;
gotoxy(5,6);cout<<"Gebe einen Wert fuer die 2.Zahl ein: ";cin>>zahl2;
gotoxy(5,7);cout<<"Gebe einen Wert fuer die 3.Zahl ein: ";cin>>zahl3;
wert=zahl2;
zahl2=zahl1;
zahl1=zahl3;
zahl3=wert;
gotoxy(5,
;cout<<"-----------------------------------";
gotoxy(5,9);cout<<"-----------------------------------";
gotoxy(5,10);cout<<"die 1.Zahl hat den Wert: ";cout<<zahl1;
gotoxy(5,11);cout<<"die 2.Zahl hat den Wert: ";cout<<zahl2;
gotoxy(5,12);cout<<"die 3.Zahl hat den Wert: ";cout<<zahl3;
gotoxy(5,13);cout<<"-----------------------------------";
gotoxy(5,14);cout<<"-----------------------------------";
getch();
}