1.

Question 1:1. Fill up the given incomplete C Program and Implement the same in C programming languageusing GDB online editor and show the output.ICOB BTL-2, 10 Marks]Hincludeint mainoint bin_num,condn,count_0.count_1.temp_num:count_0=count 1=• Initialize the valuesprintf("Enter a binary number starting with 1 and having combinations of O's and 1's:");scanf("%d".Write the Correct Variabletemp. num=while{condn=bin num=ifcount_0++;else if3printf(" The Binary Number is:%d n"printf("The Count of Zeros in Binary Number are od n",printf("The Count of Ones in Binary Number are:%d",}​

Answer»

Answer:

ICOB BTL-2, 10 MARKS]

Hinclude

int maino

int bin_num,condn,count_0.count_1.temp_num:

count_0=

count 1=

• Initialize the values

printf("Enter a BINARY number starting with 1 and having combinations of O's and 1's:");

scanf("%d".

Write the Correct Variable

temp. num=

while

{

condn=

bin num=

if

count_0++;

else if

3

printf(" The Binary Number is:%d n"

printf("The Count of Zeros in Binary Number are od n",

printf("The Count of Ones in Binary Number are:%d",

}

EXPLANATION:

please MARK me as brain list



Discussion

No Comment Found