Posts by Bruno V. Martins • 35 points
2 posts
-
2
votes2
answers58
viewsQ: Why is the condition of j never satisfied with "||", and why is i satisfied with "&&"?
package aulas; public class Aula{ public static void main(String[] args){ for(int i = 0, j = 0; i < 100 || j < 50; ++i); //Quando troco o operador lógico para && é…
javaasked Bruno V. Martins 35 -
-1
votes1
answer1275
viewsQ: Calculate annual salary
• Model an employee. He must have the employee’s name (String), the department where he works (String), your salary (double), the date of entry into the bank (String) and your ID (String). • Create…