#include <iostream.h>
#include <conio.h>
using namespace std;
int main()
{
int t;
cout<<"masukkan tahun =";
cin >> t;
if (t % 4==0)
{
cout << "tahun kabisat" << endl; }
else
{
cout << "bukan tahun kabisat" << endl; }
getch();
}
thanks ya source codenya :)
ReplyDelete