Skip to content

Instantly share code, notes, and snippets.

View Ayushjhax's full-sized avatar
:octocat:
Focusing

Ayush kumar jha Ayushjhax

:octocat:
Focusing
View GitHub Profile
@Ayushjhax
Ayushjhax / index.c
Last active May 2, 2024 09:10
Experiment No.2 Implement a C program to convert a Hexadecimal, octal, and binary number vice versa.
// Name: Ayush Kumar Jha
// Enrollment Number: 2022-350-009
// Subject: Computer Organisation and Architecture + Operating System B.Tech CSE AI 406
// Experiment No. 2 Implement a C program to convert a Hexadecimal, octal, and binary number vice versa.
#include <stdio.h>
#include <string.h>
#include <math.h>
// Function to convert hexadecimal to decimal