- 1

# Hello its absolut Hr Budget from primitive operators

Why is int sum = salary1 + salary2; system.out.println(sum); { } Wrong If i weiter something wrong in the code i didnt cause of copy and paste. And for all specialist super brain think they the best <redacted> teacher. I will learn more the solution and the explaination why my solution is wrong. I dont don't need X= a <redacted> Number nobody ask for Y= another <redacted> number wanted to put in the comments except our super specialists And Another letter nobody was asking for= the sum even my 6 year old me didnt wanted to hear the trillion time... Sry for the rage but some super specialist need to hear this, cause i dont learn from your super Labyrinth style solution. I want to know why iam wrong and what is right and why this is right and mine not, thats the best thing you can do for me thanks.

1st Jan 2022, 10:05 PM
Sasha KrĂ¶mtz
+ 3
1st Jan 2022, 10:20 PM
Lisa
+ 2
Looks more like Java than Javascript... Anyways: You put the code snippet from the question after "your code goes here"? I think it should be System.out.println(sum); What are the {} doing there? I think you can remove them.
1st Jan 2022, 10:57 PM
Lisa
+ 2
Sasha KrĂ¶mtz the code is Java ( not Javascript ) And it is capital S in System ( not system ) I don't know if you solved this or not but here is the code so you can see where you went wrong.. https://code.sololearn.com/c8Fyhlr8qPo6/?ref=app
2nd Jan 2022, 6:43 PM
BroFar
+ 1
Might it be caused by âsystemâ written with a lowercase at the beginning? Have You tried writing it starting from capital letter? If the Sololearn compiler displayed something like: âcouldnât find symbol >system.out(âŠ)â, then this might be the issue.
2nd Jan 2022, 12:38 AM
Nick
0
Javascript import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); //get salaries int salary1 = scanner.nextInt(); int salary2 = scanner.nextInt(); //your code goes here } } And i writed the thinks from my post.
1st Jan 2022, 10:49 PM
Sasha KrĂ¶mtz
0
You have two employees in your organization. Write a program to take their salaries as input and print them both out. Sample Input 1500 3200 Sample output 4700 And thats the thing i should do
1st Jan 2022, 10:51 PM
Sasha KrĂ¶mtz
0
I tried a mehtod but that doesnt work aswell
1st Jan 2022, 10:51 PM
Sasha KrĂ¶mtz