Skip to content

Commit ab1d7e4

Browse files
committed
started octal
1 parent b31d0e7 commit ab1d7e4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

For loop/50. Decimal to octal.c

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Copyright 2022 finchren
2+
/*
3+
Write a program in C to convert a decimal number into octal without using an array
4+
Test Data :
5+
Enter a number to convert : 79
6+
Expected Output :
7+
The Octal of 79 is 117.
8+
9+
1. Take input
10+
2. Figure out how to convert to octal
11+
3. Invalid input
12+
4. Convert
13+
5. Output
14+
6. Test
15+
7. Cpplint test
16+
8. Add and push
17+
*/
18+
19+
int main() {
20+
return 0;
21+
}

0 commit comments

Comments
 (0)