contoh program if
#include
void main()
{
int number;
cout<<" please input the number: ";
cin>>number;
if(number<0)
{
cout<<"you input the negative number.";
}
else if(number==0)
{
cout<<"you input nil number.";
}
else
{
cout<<"you input the positive number.";
}
}
contoh program if
20.33 |
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar