We appreciate your visit to java import java util Scanner public class Main public static void main String args double sal fin 0 t Scanner s new Scanner System in. This page offers clear insights and highlights the essential aspects of the topic. Our goal is to provide a helpful and engaging learning experience. Explore the content and find the answers you need!
Answer :
Final answer:
The question relates to a Java program which uses the Scanner class to input an employee's basic salary, and uses if-else statements to calculate tax payable based on different salary brackets.
Explanation:
This question pertains to a Java program that calculates the tax payable based on a person's salary. The Scanner class is used to get user input for the employee's basic salary. There are several conditionals (if-else statements) that calculate the final tax based on different salary ranges; for example, if the salary is over 50000 but under or equal to 60000, the tax payable is 10% of the amount over 50000.
Learn more about Java programming here:
https://brainly.com/question/37969666
#SPJ11
Thanks for taking the time to read java import java util Scanner public class Main public static void main String args double sal fin 0 t Scanner s new Scanner System in. We hope the insights shared have been valuable and enhanced your understanding of the topic. Don�t hesitate to browse our website for more informative and engaging content!
- Why do Businesses Exist Why does Starbucks Exist What Service does Starbucks Provide Really what is their product.
- The pattern of numbers below is an arithmetic sequence tex 14 24 34 44 54 ldots tex Which statement describes the recursive function used to..
- Morgan felt the need to streamline Edison Electric What changes did Morgan make.
Rewritten by : Barada