1234567891011121314151617
#include <iostream> using namespace std; int main(){ float a,b; do{ cout<<"First number: "; cin>>a; cout<<"Second number: "; cin>>b; cout<<a<<" + "<<b<<"= "<<a+b<<endl; cout<<a<<" - "<<b<<"= "<<a-b<<endl; cout<<a<<" * "<<b<<"= "<<a*b<<endl; cout<<a<<" / "<<b<<"= "<<a/b<<endl; } while (a!=0 && b!=0); return 0; }
break;
12
if(a == 0 || b == 0) break;