@@ -0,0 +1,371 @@
+// PROBLEM%0A// Write a C function that determines whether a computer is big-endian or %0A// little-endian.%0A%0A#include %3Cstdio.h%3E%0A#include %3Cstdbool.h%3E%0A%0A    bool isLittleEndian() %7B%0A        union %7B%0A            int theInteger;%0A            char singleByte;%0A        %7D endianTest;%0A        endianTest.theInteger = 1;%0A        return endianTest.singleByte;%0A    %7D%0A%0Avoid main() %7B%0A    %0A%7D%0A%0A

Create NumberOfOnes.java