Skip to content

Commit 9c748f8

Browse files
committed
Started binary to octal
1 parent fc77ca4 commit 9c748f8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

For loop/53. Binary number to octal.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright 2022 finchren
2+
/*
3+
Write a program in C to convert a binary number to octal
4+
Test Data :
5+
Input a binary number :1001
6+
Expected Output :
7+
The Binary Number : 1001
8+
The equivalent Octal Number : 11
9+
*/
10+
11+
#include <stdio.h>
12+
13+
int main() {
14+
15+
return 0;
16+
}

0 commit comments

Comments
 (0)