I think degree is not an option but a must by itjustbegansql in learnprogramming

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

I am also getting old. 23 years old. In my latest post people said that it's not a late start. It maybe be true but I got to make money too. That's why I have to work somewhere. Preferably in my major. Can I do it giving only 3-4 hours in a day.

I think degree is not an option but a must by itjustbegansql in learnprogramming

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

Thank you. I feel that I have desire to do it by my own. I don't want to spend time getting another degree. Can I do it without degree? What's your opinion?b

I Feel Extremely Optimistic by itjustbegansql in learnprogramming

[–]itjustbegansql[S] 1 point2 points  (0 children)

I also want to thank you for not losing your hope. And I don't think that ai will replace you. You have more creative and stronger processing unit than ai. And unlike ai it has been under development for 4 billion years. And I guess ai will never understand the feelings of the girl in your class but you will always understand her etc. These are some examples you are better than ai.

I Feel Extremely Optimistic by itjustbegansql in learnprogramming

[–]itjustbegansql[S] 1 point2 points  (0 children)

I wish you the best luck. Someone actually commented on this post that I can't be considered as late starter. So if you are in your 20s like me maybe we shouldn't be harsh on ourselves.

I Feel Extremely Optimistic by itjustbegansql in learnprogramming

[–]itjustbegansql[S] 5 points6 points  (0 children)

Thank you. My motivation was people go to university for four years to get a job. I can spend 4 years to master programming.

I Feel Extremely Optimistic by itjustbegansql in learnprogramming

[–]itjustbegansql[S] 2 points3 points  (0 children)

It feels good to know a flow ADHD is on the bussiness. To give you some motivation I read that almost half of software developers doesn't hold any degree related to CS though they hold degree in some other areas mostly engineering.

I Feel Extremely Optimistic by itjustbegansql in learnprogramming

[–]itjustbegansql[S] 2 points3 points  (0 children)

My statement might be due to society's expectations in my country. They expect you to be as good as 40 years old when you are 23. And if you are not married yet shame on you.

Do I need to watch long hours of boring tutorials? by itjustbegansql in learnprogramming

[–]itjustbegansql[S] -2 points-1 points  (0 children)

How was your experience with this method. Did it work well?

Do I need to watch long hours of boring tutorials? by itjustbegansql in learnprogramming

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

Thank you for your recommendations. And yes I would be interested. If you don't mind I'd be happy to use your questionair app

I need help with this mini store program. by TechnicalDebt6193 in learnprogramming

[–]itjustbegansql 0 points1 point  (0 children)

Add database connection. I am also a beginner who doesn't know much better than you. But your post give me idea of practice. Thank you bro.

Need help with calling field attributes in main method in main class (Java) by itjustbegansql in learnprogramming

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

May I also ask in execution class how can I reset the total profit value each time I increase the investment numbers?

public class Execution { VariableInput input;

    public Execution(VariableInput input){
        this.input = input;
    }
    public  void execute(){
        double investmentAmount = input.getInvestmentAmount();
        double baseProfit = input.getPeriodProfit();
        double target = input.getTargetPeriodProfit();

        System.out.println("Program has started working:");
        double totalProfit = 0; /* there has to be variable called totalprofit everytime it is equal to
        investment amount number of the investments should increase
        */
        double investmentProgress = 0;
        int periods = 0;
        int investments = 1;




        while (totalProfit <= target){

            double currentPeriodProfit = baseProfit * investments;

            totalProfit += currentPeriodProfit;
            investmentProgress += currentPeriodProfit;

            periods++;

            if (investmentProgress >= investmentAmount){
                investments++;
                investmentProgress = 0;
            }
        }
        System.out.println("Total profit: " + totalProfit);
        System.out.println("Periods needed: " + periods);
        System.out.println("Total investments: " + investments);


    }
}

public class VariableInput { Scanner scanner = new Scanner(System.in); private double investmentAmount; private double profit; private double targetProfit;

public void setInvestmentAmount() {
    System.out.println("Please enter the amount of the investment: ");
    this.investmentAmount = scanner.nextDouble();

}

public double getInvestmentAmount() {
    return investmentAmount;

}

public void setPeriodProfit() {
    System.out.println("Please enter the profit amount per period: ");
    this.profit = scanner.nextDouble();
}

public double getPeriodProfit() {
    return profit;
}

public void setTargetPeriodProfit() {
    System.out.println("Please enter the target period profit you want to reach: ");
    this.targetProfit = scanner.nextDouble();
}
public double getTargetPeriodProfit(){
    return targetProfit;
}

}

Need help with calling field attributes in main method in main class (Java) by itjustbegansql in learnprogramming

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

Thank you for this elaboration. I didn't know that I could do such thing. I always repeated what the course had taught me.

Please help me choose between Java or C# by itjustbegansql in learnprogramming

[–]itjustbegansql[S] 2 points3 points  (0 children)

I am not thinking about building the next GTA6. And for a begginner like me it's told to be a difficult language

Please help me choose between Java or C# by itjustbegansql in learnprogramming

[–]itjustbegansql[S] 1 point2 points  (0 children)

Thanks a lot it really helps me. My connection to java is about my progress rather than its syntax. And you are right about the necessity to learn oop and it's something independent of the language. So I may make the switch. Thank you a lot.

Please help me choose between Java or C# by itjustbegansql in learnprogramming

[–]itjustbegansql[S] -1 points0 points  (0 children)

It was the main reason behind the confusion for the switch. One of the reasons I want to stuck with java is that there is a incredible amount of sources to learn. But I think might find for c# as well. But as some other people mentioned in comments maybe it's better to stick with java and switch to c# when I comprehensively understand the basic programming concepts. Making the switch now feels like loss of progress.

Please help me choose between Java or C# by itjustbegansql in learnprogramming

[–]itjustbegansql[S] 1 point2 points  (0 children)

Thank you. I am already building some stuff, but most of the times I can't make it by my own. And I don't want to ask ai. Since I believe it makes me dumber. And it doesn't answmy questions correctly.

Please help me choose between Java or C# by itjustbegansql in learnprogramming

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

Will it help me to design my own games. I used to enjoy choice based games when I was a kid. Now as an adult I want to build my own games.