Unformatted text preview: (NOT A) AND (B XOR C) 3. Write a for loop in Java that prints the integer values from 1 up through n , counting by inc . ±or example, if n is 25 and inc is 5, the loop would print the sequence 1 6 11 16 21 You may assume that the integer variables n and inc have already been declared and assigned values. Just write the code for the for loop! (4 points) 4. Translate -32 (base 10) into 8-bit two ʼ s complement representation. (2 points)...
View Full Document
- Fall '08
- English-language films, Numerical digit, Exponentiation