Untitled

 avatar
unknown
c_cpp
3 years ago
223 B
6
Indexable
int main()
{
    float a, b;
    cout<<"Wprowadz liczby"<<endl;
    cin>>a>>b;
    
    if (b == 0) {
        cout <<"pamiętaj sknero nie dziel przez 0"<<endl;
    } else {
        cout << a/b<<endl;
    }

    return 0;
}
Editor is loading...