Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help putting a space between my binary code for the bin (column) For example: 00100000 would be 0010 0000 01100101 would be 0110

image text in transcribed

I need help putting a space between my binary code for the bin (column)

For example: 00100000 would be 0010 0000

01100101 would be 0110 0101 etc.

how would I implement the space in my code

My code :

image text in transcribed

image text in transcribed

in UC Dec Hex Char BinUct Dec Hex Char 100000 4 00100001 00100010 34 22 00100011 43 35 23 # 00100100 44 36 24 $ 0010010, 45 37 25 % 0010011 4638 26& 00100111 47 39 27' 00101000 50 40 28 ( 0010100151 41 29 ) 00101010 52 4 2A 00101011 53 43 2B + 00101100 54 44 2 , 00101101 55 45 2D- 00101110 56 46 2E. 0010 57 47 2F / 0011000060 48 30 0 00110001 61 49 311 00110010 62 50 32 2 0011001 63 51 33 3 001101 00110101 65 53 35 5 00110%10 66 54 36 6 33 21 01010001 12 8 5 01010010 122 8 52 R 01010011 123 83 53S 01010100 124 845T 01010101 125 85 55 01010110 126 86 56 0101011127 87 57 01011000 130 858X 01011001 13 89 59Y 01011010 132 5A 0101101 133 9 5B 01011101 134 92 5C 0101110 135 93 5D 01011110 136 94 5 01100000 140 96 60 01100001 14 97 6a 01100010 4 9862 b 01100011 143 9963 C 01100100 4 0064 01100101 145 101 65 01100110 146 102 66f 64 52 4 4 2 #include void toBinary(int n, char binary[]) 6 7 8 9 10 int rem; //initialize to 0 for (int i-e; i

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional SQL Server 2000 Database Design

Authors: Louis Davidson

1st Edition

1861004761, 978-1861004765

More Books

Students also viewed these Databases questions