dendrobatus
Gebruiker
- Lid geworden
- 13 apr 2009
- Berichten
- 133
ik heb er nu een voor alleen plus maar hoe doe ik er bijv min bij
alleen plus :
alleen plus :
PHP:
#include <iostream>
using namespace std;
int main(void)
{
float getal1, getal2, antwoord;
cout << "getal 1";
cin >> getal1;
cout << "+";
cout << endl;
cout << "getal 2";
cin >> getal2;
antwoord = getal1 + getal2;
cout << "Het antwoord is: " << antwoord << '\n';
}