#If 5
#include<iostream>
using namespace std;
int main(){
int a, b, c, mus=0, man=0;
cout << "a = ";
cin >> a;
cout << "b = ";
cin >> b;
cout << "c = ";
cin >> c;
if(a > 0) mus++;
else if(a < 0) man++;
if(b > 0) mus++;
else if(b < 0) man++;
if(c > 0) mus++;
else if(c < 0) man++;
cout << "Musbatlar soni = " << mus << endl;
cout << "Manfiylar soni = " << man << endl;
return 0;
}
309 · Mensagem#If 5
20 de março de 2023Por perto no feed
@esta mensagem
Х