panzer
public text v1 · immutable#include <iostream>
using namespace std;
int main (int argc, char *argv[])
{
float a;
float b;
string nochmal = "nochmal";
while(nochmal == "nochmal") {
cout << "Bitte gib eine Zahl ein: ";
cin >> a;
cout << "Gib die Zahl ein die du mit " << a << " multiplitzieren willst: ";
cin >> b;
cout << a << "x" << b << "=" << a*b << "\n\n" << endl;
cout << "Gib \"nochmal\" ein, um weiter zurechnen ,oder um zu beenden irgendweinen Buchstaben" << endl;
cin >> nochmal;
}
return 0;
}