in Education by
Write a program to convert a decimal number into binary number using function Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
program to convert decimal to binary 1 #include 2 int main() 3 { 4 int n, c, k; 5 printf(“Enter an integer in decimal number system\n”); 6 scanf(“%d”, &n); 7 printf(“%d in binary number system is:\n”, n); 8 for (c = 31; c >=10; c–) HOPE THIS HELPS U

Related questions

0 votes
    convert these decimal number into binary no. 1) 987 2) 987 Select the correct answer from above options...
asked Dec 9, 2021 in Education by JackTerrance
0 votes
    convert these decimal number into binary no. 1) 987 2) 987 Select the correct answer from above options...
asked Dec 3, 2021 in Education by JackTerrance
0 votes
    A convert the following Decimal numbers into Binary numbers: a. 68 b. 987 c. 657 I want step by step solutions… Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    Convert the following decimal numbers into binary numbers. a) (58)10 Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    2. Convert the following binary numbers into decimal: (1101) Select the correct answer from above options...
asked Dec 15, 2021 in Education by JackTerrance
0 votes
    Convert the following decimal numbers into binary: (72)10 Select the correct answer from above options...
asked Dec 11, 2021 in Education by JackTerrance
0 votes
    each circular outward direction. Suggest her wh F.Soleil 1. Convert (655) in binary number: 2. Convert (487) ... 3. Compute 10001-1111 Select the correct answer from above options...
asked Dec 28, 2021 in Education by JackTerrance
0 votes
    Convert the following decimal number to their binary equivalent 52.0625 Select the correct answer from above options...
asked Dec 2, 2021 in Education by JackTerrance
0 votes
    - Conveset (321),0 - binary number System (3) Subtract: (1100) A. (3) (1001) (1000) (3) Add : Convert (4 ... Multiply: (101). X (11 1) Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    Write a JAVA program to store the temperature in Celsius and convert it into Fahrenheit using the following formula ... INPUT METHOD Select the correct answer from above options...
asked Dec 22, 2021 in Education by JackTerrance
0 votes
    How will you find whether a number is represented in Decimal/Binary/Octal or Hexadecimal? * O Through base O ... O Through numbers Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    11. Express the decimal format of the signed binary number (10010)2 O a) 2 b) 12 O c)-12 Co O d)-2 Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    Define and Explain. 1. Decimal Number System. 2. Binary Number System. 3. Octal Number System. 4. Hexadecimal Number System. Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    Define and Explain. 1. Decimal Number System. 2. Binary Number System. 3. Octal Number System. 4. Hexadecimal Number System. Select the correct answer from above options...
asked Dec 18, 2021 in Education by JackTerrance
0 votes
    if 1100101011 is in binary number system then what will be the ans in decimal number system. Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
...