Posts by Christus Moura • 1 point
2 posts
-
0
votes1
answer54
viewsQ: Base converter - Segmentation fault (core dumped)
I am trying to program a simple program that reads a number in base ten and converts it to binary and I have reached the following code: #include <stdio.h> #include <math.h> int main(){…
casked Christus Moura 1 -
-1
votes2
answers81
viewsQ: Help with basic C program of the introduction to programming class
The exercise asks a program to read a binary number in the form of a 'char' vector from the keyboard and return its corresponding to base 10. I wrote a code but the values it returns are wrong,…