Skip to content

Instantly share code, notes, and snippets.

View OthmanAlthabit's full-sized avatar

OthmanAlthabit

  • Joined Sep 15, 2025
View GitHub Profile
#include <iostream>
using namespace std;
int fac(int x) {
if (x <= 1) return 1;
return x * fac(x - 1);
}
int fab(int x) {
if (x == 0) return 0;