Share your repls and programming experiences

← Back to all posts
program1
LukaszJarzabek (0)

#include <iostream>
#include <locale.h>
using namespace std;

int main()
{
setlocale(LC_CTYPE, "Polish");
int a,b;

cout<<"Podaj a: ";
cin>>a;
cout<<"Podaj : ";
cin>>b;
if(a==50 || b==50)
    cout<<"Jedna z podanych byla 50"<<endl;
else
    cout<<"Ani jedna z nich nie byla 50"<<endl;

return 0;
}