Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /******************************************************************************
- Online C++ Compiler.
- Code, Compile, Run and Debug C++ program online.
- Write your code in this editor and press "Run" button to compile and execute it.
- *******************************************************************************/
- #include <iostream>
- #include<cstdio>
- #include<cstdlib>
- using namespace std;
- struct Kiste
- {
- int L;
- int B;
- int H;
- };
- Kiste Input_H()
- {
- Kiste HoeheInp;
- cout<< "Geben Sie bitte die Hoehe der Kiste an die Sie einlesen moechten: ";
- std::cin >> HoeheInp.H;
- return HoeheInp;
- }
- Kiste Input_L()
- {
- Kiste LaengeInp;
- cout<< "Geben Sie bitte die Laenge der Kiste an die Sie einlesen moechten: ";
- std::cin >> LaengeInp.L;
- return LaengeInp;
- }
- Kiste Input_B()
- {
- Kiste BreiteInp;
- cout<< "Geben Sie bitte die Hoehe der Kiste an die Sie einlesen moechten: ";
- std::cin >> BreiteInp.B;
- return BreiteInp;
- }
- int FinalInp(Kiste HoeheInp, Kiste LaengeInp, Kiste BreiteInp){
- int Breite_conv = BreiteInp.B;
- int Hoehe_conv = HoeheInp.H;
- int Laenge_conv = LaengeInp.L;
- return BreiteInp.B, HoeheInp.H, LaengeInp.L;
- }
- int main()
- {
- int Ident[50];
- int H_Base[50];
- int L_Base[50];
- int B_Base[50];
- Kiste x [5];
- //Kiste zu Int
- int y [5] = x[5];
- cout<<"Hello World";
- /* for (int count = 0; count<3; count++)
- {
- H_Base[count] = ;
- } */
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment