#include <iostream>
      using namespace std;
      int main()
      {
      	char bno[1000], hex[1000];
      	int temp;
      	long int i = 0, j = 0;
      	cout << "Enter Binary Number : ";
      	cin >> bno;
      	while (bno[i])
      	{
      		bno[i] = bno[i] - 48;
      		++i;
      	}
      	--i;
      
      Cpp language logo

      Lava

      0

      0

      avatar
      Yatharth Garg

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.