samedi 10 février 2018

How to make a program in Java with arrays, booleans, conditionals?

this is my first question. I appreciate the help in advance. I am in my first week of intensive CS studying, and I want to create a program that will ask a question and then return an answer.

I have three labs that I need help with and want to ask publicly if any other student has finished all three labs and if they can come in on Sunday to help me with them.

I need help with the logic.

I have the very (very) basic structure of this program:

public class canYouHelp {
    String[] labs = { "StringArrayUtilities", "ArrayPersonDetails", 
        "OOPDuplicateDeleter" };
    boolean finished = false;
    boolean comingInSunday = false;

}

Thanks in advance. Again this is extremely basic. I just had a thought and wanted to see how you can make it work out into a logical, operating program. Thanks!!

Aucun commentaire:

Enregistrer un commentaire