hi there i really need help to write a java program on this i dont understand anything in java plzz i need help. ive put and attachment on so people could have a look at it. thanks

java.docx

Dani AI

Generated

Context: attached an assignment and asked for a finished Java program. and rightly reminded the poster that the forum expects some effort and that homework rules apply. Attachments may disappear or be blocked later; pasting the problem text and sample input/output into the thread makes the question useful to helpers and to future readers.

When asking for help, include these items: the full problem statement (pasted), at least one sample input and the exact expected output, the Java version/IDE, any restrictions (no collections, must use files, etc.), and the poster’s best attempt (even rough pseudocode). Also paste compiler errors or stack traces verbatim. Helpers can give targeted guidance or point out logic errors only when a concrete attempt is visible.

A short, practical workflow to solve most Java assignments: read the requirements and list inputs/outputs; break the task into responsibilities (data model, processing, I/O); write method stubs and small tests; implement incrementally and print intermediate results to verify behaviour; reduce failures to the smallest reproducible example before asking for debugging help. For object-oriented problems, identify entities that map to classes and keep methods single-purpose.

A compact starter template for a console-based Java task:

import java.util.Scanner;

public class Assignment {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // read input, call helper methods, print output
        in.close();
    }

    // add small helper methods here; test each one independently
}

Note: the community is happy to sketch approaches and debug posted code, but full solution dumps for assessed coursework are discouraged.

Recommended Answers

All 3 Replies

hi there i really need help to write a java program on this i dont understand anything in java plzz i need help. ive put and attachment on so people could have a look at it. thanks

[ATTACH]13921[/ATTACH]

let me guess ... you just attached your assignment in here, didn't bother to start a new thread, or even trying to write it yourself, and you expect us to deliver custom made code so you can cruise through your education without effort or actually learning something?

commented: Seems like it to me :) +19

Obviously that why I posted it on here it’s because I don’t know where to start from. We have only been thought 10 lecture for java so far and our lecture and given us this homework to do which seems extremely hard. If it’s possible to briefly explain step by step or even create me a similar template which I can work on.

Thanks

Welcome smith!.

We understand your problem. We only give help to those who show effort. You might want to read the homework policy if you run into problems and want to ask for help here.

Please do not resurrect old threads. Read the rules before posting again - http://www.daniweb.com/forums/thread78223.html

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.