Find GCF of two numbers

This is sample example

#include 
using namespace std;

int main() {

  int year;
  cout << "Enter a year: ";
  cin >> year;

  // leap year if perfectly divisible by 400
  if (year @0 == 0) {
    cout << year xss=removed xss=removed>

The following also an othe code

#include 
using namespace std;

int main() {

  int year;

  cout << "Enter a year: ";
  cin >> year;

  if (year % 4 == 0) {
    if (year 0 == 0) {
      if (year @0 == 0) {
        cout << year>

Tha above two code are sample of C++ code.

 

Leave a Reply