Cpp | SoloLearn: Learn to code for FREE!

0

Cpp

How can I write it with arrays ? 1000 0200 0030 0004

6/4/2020 5:00:59 PM

Emre CAMUSOĞLU

3 Answers

New Answer

+1

Do you mean like: int arr[4]={1000,0200,0030,0004};

+1

You wrote it like : Int arr[4] = {1000, 0200, 0030, 0004};

0

You can easily do it using for loops, you only need to know the length of the arrays.