forked from sanketpatil02/Code-Overflow
-
Notifications
You must be signed in to change notification settings - Fork 0
convert in octal #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
shiwangi123456
wants to merge
1,520
commits into
AChakraborty13:main
Choose a base branch
from
shiwangi123456:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create sum of elements in a array.....
Create sum of elements in a array......
optimise program for fibonacci siries
Factorial.md
Create Dijkstras Algorithm for Single Source Path-C++
Create Linear Search Using Recursion-C++
Create Sum of elements in a array..
Create C program for febonacci siries
Optimized code for finding d smallest element in array in a quick way
optimized 2D Matrices using C
Smallest.md
Create 2D Matrices using C
code for ASCII
I have import math and used different methods of it to print ceiling and floor value.
left rotate array using c
Ceiling and floor value
Create code for ASCII
Create binary search tree
Create valleys counting
Create java inheritance
Dining Philosopher Problem implemented with C language
Create left rotate array using c
C++ program to find no of nodes in BST
C++ Program for Deletion of BST(Binary Search Tree)
C++ Program for Implementing Graph Data Structure
Create binary search tree
minor changes
Create valleys counting
Create Length of String
Update Binary Search Tree
Update Program to add two numbers in pyhton
Create Program to print Fibonnaci Series new
Create A string is palindrome or not
Program to count vowels in a string by java
Create binary search in c
Create C program to check if an integer is prime or not
Create C program to get input from a user using scanf
Create using if else control instructions
Create command line arguments in c
Create Array program in c
Create function program inc
Create Using comments in a program in c
Create using structures in C programming
code for sum of elements in array in c.
factorial of nos in c.
power of number in c.
length of the string in c
array reverse in c
binary to decimal converter in c
multiplication of matrices in c
matrix multiplication in c.
binary to octal in c
to find fabonacci series
to find fabonacci series
multiplication of matrices
Multiplication of matrix in c
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#include <math.h>
#include <stdio.h>
int convert(long long bin);
int main() {
long long bin;
printf("Enter a binary number: ");
scanf("%lld", &bin);
printf("%lld in binary = %d in octal", bin, convert(bin));
return 0;
}
int convert(long long bin) {
int oct = 0, dec = 0, i = 0;
}