Search:

Type: Posts; User: roronoaz

Search: Search took 0.09 seconds.

  1. Replies
    0
    Views
    944

    [SOLVED] ARRAYs - Interesting shifting question

    Q36. Write a program that reads in a sequence of ints into an array.
    The program should the shift each value on one position in the array.
    For example, whatever is in array position 4 should be...
  2. [SOLVED] Re: ARRAYs - Display number of students who failed

    Thank you Andreas! I've finally got it working now :)

    public static void main(String[] args) {
    int[] marks = new int[10];

    String strMark = "";
    int count = 0;
    int Marksread = 0;
  3. [SOLVED] Re: ARRAYs - Display number of students who failed

    Okay so i've tried using the loop but i keep getting '1' as a result everytime i run it :(

    public static void main(String[] args) {
    int[] marks = new int[10];

    String strMark = "";
    int count =...
  4. [SOLVED] ARRAYs - Display number of students who failed

    Here is a practise revision question that im stuck on:

    Q32) Write a program that reads in 10 student marks into an array called marks
    and computes the number of students who have failed (got a...
Results 1 to 4 of 4