Skip to content

Instantly share code, notes, and snippets.

View amalbenny's full-sized avatar
🎯
Salve Rex

Amal amalbenny

🎯
Salve Rex
View GitHub Profile
@amalbenny
amalbenny / web4.css
Last active December 6, 2023 16:27
W3 CSS Version: 4.15
/* W3.CSS 4.15 December 2020 by Jan Egil and Borge Refsnes */
html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}
/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}
article,aside,details,figcaption,figure,footer,header,main,menu,nav,section{display:block}summary{display:list-item}
audio,canvas,progress,video{display:inline-block}progress{vertical-align:baseline}
audio:not([controls]){display:none;height:0}[hidden],template{display:none}
a{background-color:transparent}a:active,a:hover{outline-width:0}
abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}
b,strong{font-weight:bolder}dfn{font-style:italic}mark{background:#ff0;color:#000}
@amalbenny
amalbenny / isPrime.c
Last active May 7, 2023 05:48
Identify whether the number is prime or not
#include <stdio.h>
#include <stdbool.h>
void main() {
// PRIME NUMBER SENSOR PROGRAM
// GitHub: @amalbenny
int num,count=2;
bool isPrime=true;
printf("Prime Number Sensor program \n----------------------------------- \nEnter the number for verification: ");
scanf("%d",&num);