Problem: A manufacturing company has classified its executives into four levels for the benefits of certain perks. The levels and corresponding perks are shown below:
Perks
Level ------------------------------------------------------------------- Conveyance Entertainment
allowance allowance

1 1000 500
2 750 200
3 500 100
4 250 -

An executive’s gross salary includes basic pay, house rent allowance at 25% of basic pay and other perks. Income tax is withheld from the salary on a percentage basis as follows:

Gross salary Tax Rate

Gross<=2000 No tax deduction
2000< Gross<=4000 3%
4000 Gross>5000 8%

Write a program that will read an executive’s job number, level number, and basic pay and then compute the net salary after withholding income tax.
Problem Analysis:
Gross salary=basic pay+ house rent allowance +perks
Net salary=Gross salary- income tax

The computations of perks depends on the level, while the income tax depends on the gross salary.
The major steps are Read data, calculate perks, calculate gross salary, calculate income tax, compute net salary and print the results.

How tomake it Visual Basic in Visual studio?

Answers

Answer 1

Answer:

I think its 1 1000 500

Answer 2

The program that will read an executive’s job number, level number, and basic pay and then compute the net salary after withholding income tax is in explanation part.

What is computer programming?

Making a set of instructions that instruct a computer how to carry out a task is the process of programming. Computer programming languages like JavaScript, Python, and C++ can all be used for programming.

The program can be:

using namespace std;

float taxCalculate(float basicPay){

   float tax = 0.0

   if(basicPay <= 20000){

              tax = 0.0 ;

   }

   else if(basicPay <=35000){

       tax = 0.20 * basicPay ;

   }

   else if(basicPay <=65000){

       tax = 0.25 * basicPay ;

   }

   else if(basicPay > 65000){

       tax = 0.30 * basicPay ;

   }

   return tax ;

}

int main()

{

   string name ;

   int job_number, level_number;

   float basic_pay, house_rent ;

   cout << "Enter employee name: " ;

   getline(cin, name);

   cout << "Enter executive job number: " ;

   cin >> job_number ;

   cout << "Enter level number: ";

   cin >> level_number ;

   cout << "Enter basic pay: ";

   cin >> basic_pay ;

   cout << "Enter house rent: ";

   cin >> house_rent;

   float gross_salary = 0.0 ;

   switch(level_number){

       case 1:

           gross_salary = basic_pay + ((0.25 * basic_pay) + house_rent + 1000 + 500) - (basic_pay - (taxCalculate(basic_pay))) ;

           break;

       case 2:

           gross_salary = basic_pay + ((0.25 * basic_pay) + house_rent + 750 + 200) - (basic_pay - (taxCalculate(basic_pay))) ;

           break;

 

       case 3:

           gross_salary = basic_pay + ((0.25 * basic_pay) + house_rent + 500 + 100) - (basic_pay - (taxCalculate(basic_pay))) ;

           break;

       case 4:

           gross_salary = basic_pay + ((0.25 * basic_pay) + house_rent + 250) - (basic_pay - (taxCalculate(basic_pay))) ;

           break;

       // default case

       default:

           cout << "Invalid level number." << endl ;

   }

   cout << "The net/gross salary is " << gross_salary << endl ;

   return 0;

}

Step: 2

//function basic to calculate tax

float taxCalculate(float basicPay){

   float tax = 0.0 ;

   if(basicPay <= 20000){

       tax = 0.0 ;

   }

   else if(basicPay <=35000){

       tax = 0.20 * basicPay ;

   }

   else if(basicPay <=65000){

       tax = 0.25 * basicPay ;

   }

   else if(basicPay > 65000){

       tax = 0.30 * basicPay ;

   }

   return tax ;

Thus, above mentioned is the program for the given scenario.

For more details regarding programming, visit:

https://brainly.com/question/11023419

#SPJ2


Related Questions

Which kind of devices uses radio waves to transport data? devices use radio waves to transport data.

Answers

Answer:

In computer networking, RF is used to describe network devices (hubs, bridges, etc.) that transmit data signals using radio waves instead of data cables or telephone lines.

Explanation:

Answer:

In computer networking, RF is used to describe network devices (hubs, bridges, etc.) that transmit data signals using radio waves instead of data cables or telephone lines.

Explanation:

Which of the following is NOT an example of a computer? O Judge O ENIAC O Calculator O Abacus​

Answers

Answer:

Judge

Explanation:

ENIAC was the first programmable

Calculators are very simple electronic computers

Abacus are non-electronic computers

Judge is your answer

Create a set of functions that compute the mean, median, and mode of a set of
numbers. Section 5.4 - Example: Using a List to Find the Median of a Set of Numbers
provides a simple algorithm for calculating the median for a set of numbers. Each
Function should expect a list of numbers as an argument and return a single number
Each function should return O if the list is empty. Include a main function that tests
he three statistical functions with a given list. Do not use the statistics or math
nodules to create the functions. The functions must be created by you.

Answers

Refer to the attachment.

Language used=Python

Answer:

Create a set of functions that compute the mean, median, and mode of a set of

numbers. Section 5.4 - Example: Using a List to Find the Median of a Set of Numbers

provides a simple algorithm for calculating the median for a set of numbers. Each

Function should expect a list of numbers as an argument and return a single number

Each function should return O if the list is empty. Include a main function that tests

he three statistical functions with a given list. Do not use the statistics or math

nodules to create the functions. The functions must be created by you.

Several scholarship opportunities exist to assist students in pursuing STEM-related degrees.

True
False

Answers

True true true and always true.
The answer is true!! Have a great day!

The roots of the quadratic equation ax² + bx + c = 0, a ≠ 0 are given by the following formula:

Quadratic Formula
In this formula, the term b² - 4ac is called the discriminant. If b² - 4ac = 0, then the equation has a single (repeated) root. If b² - 4ac > 0, the equation has two real roots. If b² - 4ac < 0, the equation has two complex roots.

Instructions
Write a program that prompts the user to input the value of:

a (the coefficient of x²)
b (the coefficient of x)
c (the constant term)
The program then outputs the type of roots of the equation.

Furthermore, if b² - 4ac ≥ 0, the program should output the roots of the quadratic equation.

(Hint: Use the function pow from the header file cmath to calculate the square root. Chapter 3 explains how the function pow is used.)

Format your output with a decimal precision of 2.

Answers

Hope it helps. Thanks.

How do you setup Synapse x? Please explain each step

Answers

1. You download the compressed file from the website

2. Create a new folder on your desktop, then copy the file location.

3. Right click on the compressed file that contains Synapse X

4. Select “Extract all,” then paste the file location of the folder you wish to keep it in, and click “Extract.”

5. Make sure Windows Real-time Protection is OFF before trying to run the .exe file, otherwise your OS will automatically delete the .exe file then you'll have to delete all the contents from your folder and restart from step 3.

You can find the Windows Real-time Protection option by going to the Windows search bar and typing "Virus and Threat Protection,"

then clicking on the "Manage Settings" button underneath the "Virus & threat protection" tab, then disabling Real-time Protection.

It will give you a prompt warning you that your PC could be open to threats, however as long as if you're not downloading shady things from shady sites, and you're not discoverable on your Wi-Fi network, you'll be fine without it.

Keep in mind, Real-time Protection automatically turns itself back on after a set amount of time of it being disabled. So you'll have to disable it every time you wish to use Synapse X.

6. Once you've done all of that, just follow the prompts that Synapse X gives you, give your whitelist code, log in, and you're set.

Ms Excel is an example of______



Answers

Answer:

It is an example of a spreadsheet application

Explanation:

Ms Excel is an example of_spread sheet application_.

hope this helps you.

Implement a number guessing game where a player will get up to seven chances to guess a mystery number in the range of 1 through 100.

Answers

The implementation of the guessing game ls written in python 3 which involves a maximum guess of 7 to make a prediction of the random integer generated.

import random

#import the random module for generating random numbers

num = random.randint(0, 100)

#generate a random integer value between 1 to 100 and store in the variable num

tries = 0

#initialize a counter to record the number of guesses made

while tries <7 :

#while loop ensures that only a maximum of 7 guesses is are made

guess = int(input('Enter your guess'))

#prompts user to make a guess

tries+=1

#increases the number of guesses by 1

if guess == num :

#checks if the guess is equal to the random number

print('success')

#dispaly success if true

elif tries < 7 :

#if not check if number of guesses is not up to 7 and tell user to try again

print('Try again')

elif tries == 7 :

#checks if number of tries is equal to 7

print('tries exceeded\n the random number is :', num)

# tell user that is number of tries has elapsed and display the correct number.

A sample run of the program and the output is attached.

Learn more :https://brainly.com/question/19347842

[C++] 4.17 LAB: Print string in reverse Write a program that takes in a line of text as input, and outputs that line of text in reverse. The program repeats, ending when the user enters "Done", "done", or "d" for the line of text. Ex: If the input is: Hello there Hey done then the output is: ereht olleH yeH

Answers

The program illustrates the use of string manipulations.

String manipulation involves carrying out several operations (such as splitting and reversing of strings).

The program in C++ where comments are used to explain each line is as follows:

#include <bits/stdc++.h>

using namespace std;

int main(){

   //This declares a string variable

string str;

//This gets input for the variable

getline(cin, str);

//The following is repeated, until the user inputs "Done", "done" or "d"

while(str != "Done" && str !="done" && str !="d"){

    //This reverses the string

    reverse(str.begin(), str.end());

    //This prints the reversed string

    cout << str<<endl;

    //This gets another input

    getline(cin, str);

}  

return 0;

}

At the end of each loop, the reversed string is printed.

See attachment for sample run

Learn more about similar programs at:

https://brainly.com/question/24833629

How large are the laptop discounts for Black Friday?

Answers

Answer:

i dont know you can look it up in gogle

Explanation:

Answer: Some about 50% off, some 30% off.

Answer this pls ASAP

Answers

Answer:

I'm not going to answer it just because you said "ASAP" never rush an intellectual such as ME.

What is computer Write three features of computer ​

Answers

A computer is a machine that can be programmed to carry out sequences of arithmetic or logical operations automatically. Modern computers can perform generic sets of operations known as programs. These programs enable computers to perform a wide range of tasks.

speed, accuracy, diligence, versatility and storage capacity

A computer is a machine that can be programmed to manipulate symbols. Its principal characteristics are: It responds to a specific set of instructions in a well-defined manner. It can execute a prerecorded list of instructions (a program). It can quickly store and retrieve large amounts of data.

The characteristics of computers that have made them so powerful and universally useful are speed, accuracy, diligence, versatility and storage capacity.

What is lhe correct sequence of determining and development of CRM strategies?
1. Amplify commitment
2. Building valuable project team
3. Requirement analysis

Answers

Answer:

Plugins

API Docs

Find an Expert

Sendinblue Academy

Customer Stories

Premium Templates

Product Updates

Become a Sendinblue Expert

Sign up free

Log in

September 21, 2020

8 Steps to Creating a CRM Strategy for Your Business

Reading time about 9 min

What is a CRM strategy?

A Customer Relationship Management strategy is a plan to grow sales and improve customer service through a combination of processes, actions, and technology. It typically involves the sales, marketing, and customer service functions of a business.

What was once the traditional buyer-seller model has shifted from transactional to customer-centric. Customer relationships today require higher levels of maintenance, which is why businesses now have entire CRM strategies dedicated to managing them.

One of the reasons is that consumers have bigger expectations than ever when it comes to customer service. They’re not going to think twice about going elsewhere if yours isn’t up to scratch.

When we hear the words ‘CRM strategy’, we’re inclined to think about CRM software. But software is only one piece of a much larger puzzle.

The best customer relationship management strategy incorporates both people and software.

Stay tuned for our comprehensive 8-step guide to developing a CRM strategy for your business.

sorry if i dont help you

choose the missing term
-------time
time.sleep(3)

Answers

Answer:

import

Explanation:

If this is python, you'll have to import the time module.

Write the types of computer viruses.​

Answers

File infecting virus, web scripting virus, resident virus browser hijacker

Where is the ‘Chart’ button in Powerpoint?

Answers

Answer:

The picture attached

PROCEDURE: Therapeutic infusion of saline solution with 5% dextrose IV, 500 ml for dehydration, lasting 48 minutes. what is the right cpt code and hcpcscode?

Answers

Answer:

no

Explanation:

yes becouce not arance the name of fegeur spech

What are some good predictions for video games in 2030? I need good reliable sources that have timestamps, like they say 2030 in them. Thank you!

Answers

Answer:

The 2021 global games market will generate revenues of $175.8 billion and is projected to exceed $200 billion by the end of 2023, according to a report by Newzoo (via VentureBeat). More than half of these revenues will come from mobile gaming, the largest segment of the marke

Explanation:

hope it's helpful to you

A mobile service provider has two data plans for its customers:

Silver plan: For $29.99 a month, 4 gigabytes are provided. Additional data costs $10 per gigabyte.
Gold plan: For $49.99 a month, 8 gigabytes are provided. Additional data costs $5 per gigabyte.

For both plans, the additional data is rounded up to an integral number of gigabytes. For example, if the additional data is 2.1 gigabytes, it is rounded up to 3 gigabytes, and the cost is $30 for the silver plan and $15 for the gold plan. Write a program that displays a menu of choices.

Answers

The program is an illustration of built-in functions and conditional statements.

Built-in functions are functions that have specific roles defined in them, while conditional statements are statements whose execution depends on the truth values of the condition.

The program in Python, where comments are used to explain each line is as follows:

import math

#This prints the menu

print("Menu\n1.- Silver plan\n2. Gold plan")

#This gets input for the plan from the user

selection = int(input("Select a plan: "))

#This gets the additional data from the user

additional_data = float(input("Additional data: "))

#This rounds up the additional data to the next integer

additional_data = math.ceil(additional_data)

#If selection is 1

if selection == 1:

   #This calculates the additional cost and the total cost

   additional_cost = 10 * additional_data

   total = additional_cost + 29.99

#If selection is 2

elif selection == 2:

   #This calculates the additional cost and the total cost

   additional_cost = 5 * additional_data

   total = additional_cost + 49.99

#For other inputs, the selection is considered invalid

else:

   print("Invalid selection")

#This prints the additional and the total costs, for selections 1 and 2

if selection == 1 or selection == 2:

   print("Additional cost:",additional_cost)

   print("Total cost: {:.2f}".format(total))

At the end of the program, the appropriate costs are printed for valid selections.

Read more about similar programs at:

https://brainly.com/question/25210352

Krista is doing research for her school assignment. While she is completing her research, the computer unexpectedly restarts. The computer restarted because it

was installing software
was installing updates
was updating the hardware
was updating the virus

Answers

Answer:

I believe the answer should be was installing updates.

Explanation:

What is lhe correct sequence of Sprint Zero?
1. Estimate roughly
2. Form backlog
3. Setup environment
4. Define user stories

Answers

Answer:

Get some quality items on the Product Backlog

Product backlog for your credit bill nye is due for a week of

Name the major types of computer systems from slowest to fastest. ​

Answers

Answer:

Cache is the fastest and most expensive, RAM is slower and less expensive, and virtual memory is the slowest and least expensive type.

Explanation:

the are the uncontrollable faces outside the business industry .​

Answers

Answer:

The uncontrollable risk factors are the details that affect the product that a company has no way of changing. These include political and economic climates, competitor choices and even the weather.

Explanation:

Which of the following correctly orders the steps involved in the outlining process?

brainstorm, order, organize, label
brainstorm, organize, order, label
organize, brainstorm, label, order
organize, brainstorm, order, label

Answers

Answer:

brainstorm, organize, order, label

Explanation:

The answer is:

brainstorm, organize, order, label

2. What does the menu system on your DVD player illustrate?
(1 point)
O interface
O link
O menu system
O search engine

Answers

Answer:

Interface, (A)

Explanation:

Because it just does

interface

the correct answe

give atleast 5 example of ENFRAMING in our daily lives

Answers

Answer:

1. steel is produced to be used in such things as the production of automobiles, and, although steel is not the automobile, it is, nevertheless, affected by the “coming into being” of the automobile.

Steel is produced to be used in such things as the production of automobiles, and, although steel is not the automobile, it is, nevertheless, affected by the “coming into being” of the automobile.

What is Automobile?

The first steam-powered vehicle was created in 1672, marking the beginning of the development of the car. Nicolas-Joseph Cugnot produced the first steam-powered automotive that could transport people in 1769.

Around the beginning of the 19th century, inventors started to take risks and developed the de Rivas engine, one of the first internal combustion engines, and an early electric motor. The Volkswagen Beetle and the Ford Model T are two of the most widely produced car models in history, respectively.

A backlash against huge vehicles in the middle of the 19th century slowed development, but certain internal combustion engines nevertheless advanced.

Therefore, Steel is produced to be used in such things as the production of automobiles, and, although steel is not the automobile, it is, nevertheless, affected by the “coming into being” of the automobile.

To learn more about automobile, refer to the link:

https://brainly.com/question/1193772

#SPJ2

c program how to input this? ​

Answers

Chchvjvcuvggiiog. Correct

[tex]\huge \boxed{\sf code}[/tex]

#include <stdio.h>

int  main() {

       // Declare the variables

       float a,b,c,d,e;

       float sum;

       // Ask the user to input

       printf("Enter the first number: ");

       scanf("%f",&a);

       printf("Enter the second number: ");

       scanf("%f",&b);

       printf("Enter the third number: ");

       scanf("%f",&c);

       printf("Enter the fourth number: ");

       scanf("%f",&d);

       printf("Enter the fifth number: ");

       scanf("%f",&e);

       // Use if statements to calculate the sum

       if (a < 0) {

               sum = sum + a;

       }

       if (b < 0) {

               sum = sum + b;

       }

       if (c < 0) {

               sum = sum + c;

       }

       if (d < 0) {

               sum = sum + d;

       }

       if (e < 0) {

               sum = sum + e;

       }

       // Print the sum

       printf("Sum of all negative integers = %.2f\n", sum);

       // Return an integer

       return 0;

}

[tex]\Large \boxed{\sf explanation}[/tex]

Declare the variables a, b, c, d, e, and sum as float type.

Display to the user to ask for input and take the input.

Use if statements to determine if a, b, c, d, and e are less than 0. If yes, then add them to the sum. If no, then skip to the following function.

Print the sum as a float type with 2 decimal points.

Return an integer.

Which trait can be a positive or negative?

Answers

Answer:

Prejudice can be either positive or negative.

cách soạn thảo văn bản trên word

Answers

Answer:

Did you mean How to edit text on word? There are 2 word, Microsoft Word Office and WordPad. The step I give you below is for both.

Explanation:

Steps to edit text on word

Step-1: Select the text you want to edit.

Step-2: Click on Home Tab.

Step-3: Select the style(s) you want to edit from the Font group

Of the following hard drives, which one is fastest?
a. SATA 6 Gb/s SSD
b. SATA 6 Gb/s 10,000-RPM drive
c. M.2 SSD using a SATA3 interface
d. PCIe NVMe SSD card

Answers

Answer:

D. PCIe NVMe SSD card

Explanation:

PCIe NVMe SSD cards are ludicrously fast even compared to some modern SSD drives today. Some can even average up to 8 GB/s while moving/copying files, though, the price tag is pretty high compared to some other SSD / HDD drives.

Other Questions
Line v passes through point (6, 6) and is perpendicular to the graph of y = 3/4x - 11. Line w is parallel to line v and passes through point (6, 10). Which is the equation of line w in slope-intercept form?A: y= 3/4x+2B: y=-3/4x+2C: y=-4/3x+2 What does identification mean calculate the shaded area What are ways we can show respect? Conjugate the verb "nadar" in the present tense in Spanish 10.Vocabulary Word: pollute: to ruin water, air, or a place, with harmfulsubstancesUse the vocabulary word in a sentence: How did the people overthrow the government in the cuban revolution Pls help AS SOON AS POSSIBLE How did the constitution, as originally ratified on 1788, promote liberty? What percent of the time are the cells dividing? (Show how you arrived at your answer.) in the expression 8 ( x-y +b(x-y ; the common binomial factor is The purpose of this document is to provide proof of identity and employment eligibility for the person being hired.I-9 formW-4applicationresume 1. What are the art elements and principles that you can see in the picture? 2. What is the message or idea of the painting? how should you treat workers with HIV/AIDS in the workplace? Brandon is going to the Sutter County Fair. Admission to the fair is $7, and each ride costs $2.Write an equation that shows how the total amount Brandon spends, y, depends on the number of rides he takes, x. WORTH 100 POINTS IF YOU GET IT RIGHT IN THE NEXT FIVE MINUTESEvaluate the expression when x=1/4 and y=1/2.2(1/16+x2)+5yEnter your answer as a mixed number in simplest form. what is the frequency of 704 nm light? 1 9) y=--x + 3 3 *x y 2 # 54 B X there can someone please explain this Convert 0.750 into it's fractional form, simplified completely.