MENCARI TAHUN KABISAT DENGAN C++

PRAKTIKUM KE2 ALGORITMA DAN PEMROGRAMAN

#include <iostream>
#include <string>

using namespace std;
int main()
{
int y;
cout <<“MASUKAN TAHUN”<<endl;
cin>>y;

if (y % 4==0)
{
cout << “TAHUN KABISAT” << endl;   }
else
{
cout << “BUKAN TAHUN KABISAT” << endl;   }

system(“PAUSE”);
return EXIT_SUCCESS;
}

FLOWCHART NYA :

“menyusul krna jaringan sedang lambat heheheheheheheehehhee 😀 😀 :D”

Tinggalkan komentar