#include <string>
using namespace std;
int main()
{
int a;
cout<<"Masukan angka :";
cin >> a;
if (a<0)
{
cout << "Bilangan Negatif" << endl; }
else
{
cout << "Bilangan Positif" << endl; }
return 0;
}
4:37 AM |
Category: |
1 comments
Copyright 2008. All right reserved. Theme Design by Good Design Web
© 2008 TEKNIK INFORMATIKA Bloggerized by Falcon Hive.com
Comments (1)
pranala lain -> C++ Mencari / Menentukan Bilangan Bulat Positif, Negatif atau Nol