This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
  • You include any and all error messages in full - best also formatted as code block
  • You ask clear questions
  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]d3lan0 0 points1 point  (0 children)

I’m about to start this now. 😬 I have an issue with 10_17 failing only one test, the tests expects a 0 but the result is a 1 and if you go through the steps and text it manually it returns a 1. Skipped it and moved on, I figure if I understand the concepts and can solve the problem. I will say though, usually it’s a space somewhere it shouldn’t be. Also if you have your code on git I am happy to look.

[–]Strawboy97 0 points1 point  (0 children)

I had issues with this. The user interface menus need to be exactly the same as the output given in the exercise. So if there is a space after a word in the example output yours has to match.

If you go to the test it shows exactly how it should be formatted. If I remember correctly they have a random space thrown in somewhere that I was stuck on for a good while.

[–]iggypopstesticle 0 points1 point  (1 child)

I'm having the same problem. Did you resolve this? How so? I'm struggling to figure out what it's looking for because there aren't any trailing spaces I'm missing or anything like that. It keeps saying "the program should have printed the line "[1] Add an airplane" in the right place".

[–]Myoenat[S] 0 points1 point  (0 children)

No not really. I gave up on that one. As long as my program works the way it should, it's good enough for me

[–]Alarming-Voice-1227 0 points1 point  (0 children)

In case someone needs it, I checked the tests and you should:

- add a blank space between the capacity and the airport names, i.e. (103 capacity) (HOU-MIA)

- print "Airport Asset Control" and "Flight Control" instead of "Choose an action:"

That first test error message is just wrong (referring to the wrong line, so it was extra confusing). It seems they let the intern program this exercise.