this is what i have so far
#include<stdio.h>
#include<conio.h>
#include<math.h>
int main(){
unsigned char x;
int icount,y;
printf("Enter a number you wish to convert to binary ->...
Type: Posts; User: alexwink
this is what i have so far
#include<stdio.h>
#include<conio.h>
#include<math.h>
int main(){
unsigned char x;
int icount,y;
printf("Enter a number you wish to convert to binary ->...
i dont have a very good understanding of bitwise operators so i'm pretty lost right now
im writing a program that reads a character from the keyboard and converts it to binary. i have already written the part of the program that converts to binary but now i need to have the program...
i was finally able to get it working correctly. i am extremely thankful to everyone who has helped me for this assignment! i would not have been able to finish this without you guys!! thanks alot!!
ohh yes i didnt notice that. so i changed it to:
#include<stdio.h>
#include<conio.h>
#include<math.h>
int returncode(char color);
int main(){
int dig1,dig2,dig3;
...
so if I use this:
#include<stdio.h>
#include<conio.h>
#include<math.h>
int main(){
int returncode(char color);
int dig1,dig2,dig3;
printf("These are the...
well i put that in and i have this:
#include<stdio.h>
#include<conio.h>
#include<math.h>
int main(){
int returncode(char color);
int dig1,dig2,dig3;
...
i have a homework assignment in which i am supposed to find the nominal value of a fixed resistor, given the resistor's color code. each color code has a corresponding letter and i need to make a...