ShareCopy to ClipboardRawPreview#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; Lava00Yatharth Garg0 CommentsAdd CommentLog in to add a comment