how the last condition will be followed? please help me
Another point is my output come out fine
package com.codegym.task.task02.task0205;
/*
Pay raise
*/
public class Solution {
public static void main(String[] args) {
hackSalary(7000);
}
public static void hackSalary(int a) {
int b=1000;
int c=a+b;
System.out.println( "Your salary is :"+c+"dollars per month.") ;
}
}