rendered paste body#include <iostream>
#include <string>
#include <fstream>
#include "out.h"
using std::cin;
using std::cout;
using std::endl;
using std::string;
void main(void)
{
bool a , b;
Logic log;
int operation;
cout << "InputA true oder false ?:" << endl;
cin >> a ;
log.setInputA(a);
cout << "InputB true oder false ?:" << endl;
cin >> b;
log.setInputB(b);
cout << "Welche Operation durchfuehren (1=AND,2=OR,3=XOR) ?" << endl;
cin >> operation;
log.setFunction(operation);
cout << "Das Ergebnis der Verknuepfung lautet: " << log.getOutput() << endl;
}