Writing Syntax: Arrays and Loops
Not what you're looking for?
1. Write the syntax (one line) to declare an int array with 7 values which are all 10.
2. Write the syntax using a loop to print out every odd value from the array above.
Purchase this Solution
Solution Summary
This solution provides guidelines on writing the syntax to declare an int array and a syntax using a loop.
Solution Preview
1. int[] array = { 10, 10, 10, 10, 10, 10, 10};
2.
// with ...
Purchase this Solution
Free BrainMass Quizzes
Javscript Basics
Quiz on basics of javascript programming language.
Word 2010: Table of Contents
Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.
Word 2010: Tables
Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.
C# variables and classes
This quiz contains questions about C# classes and variables.
Java loops
This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.