Skip to content

Instantly share code, notes, and snippets.

View B23i's full-sized avatar

Bilal B23i

View GitHub Profile
@B23i
B23i / gist:55226ed26ca14817f44654b872557584
Created May 8, 2026 23:45
software language which displays all prime numbers having 3 digits and starting with 5.
#include <stdio.h>
int prime(int num){
if (num < 2) {
return 0;
}
for (int divisor = 2; divisor * divisor <= num; divisor++) {
if (num % divisor == 0) {
return 0;