Employees in a company receives net salary after the deductions for tax, Staff Provident Fund (SPF), and Global Insurance (GI): Basic Salary Range ($) Tax Rate SPF GI 0 - 1999 0 % 11 % 1% 2000 2999 5% 12 % 2% 3000 – 4999 8 % 13 % 5% Above 5000 10 % 17% 8 % Based on the table given, you are required to write a C programming for a system that accepts the employee's basic salary, and generates the net salary after the respective deductions as described above.
Q: Illustrate your knowledge of C Programming by implementing a Bank ATM Machine as a C-Program.…
A: #include <stdio.h>int main(void){int p,m,w,f,c;m = 25000;printf("Welcome to State bank of…
Q: 2. Write a C+ program to calculate the net salary for an employee of a company that manufactures…
A: Here is the approach : Create the function for three cases one for the fixed salary , contract…
Q: Programing in c This program will calculate how pricy two products will be in 2030. It will begin by…
A: Note: Comments have been included in the source code itself to have a better understanding of the…
Q: Need Help solving this in C++ language . Prompt for and get the user’s number of donuts to buy…
A: In this program, you need to take input from user for number of donuts and number of people. After…
Q: The language is C++. Can someone write a function for each these three bullet points. One function…
A: I have completed a similar question in past. I have updated the code according to your needs. please…
Q: Illustrate your knowledge of C Programming by implementing a Bank ATM Machine as a C-Program.…
A: Declare global variable account balance = 20000. The main, string passcode contains 1234, check if…
Q: PROBLEM: Write a C++ program that will allow the user to input the First Name, Last name, Middle…
A: - We need to create the grade program.
Q: write a program in c++. You work for a box company, and have been asked to write a program to…
A: PROGRAM INSTRUCTIONS: The C++ program has the following algorithm: Declare and initialize the…
Q: Write a program that computes and assess the TF of the students in one semester, based on the given…
A: In the solution of given problem, first we read the tuition fees, then read the mode of payment…
Q: Write a C program to that accepts an email address (first command line argument) and a cellphone…
A: Algorithm: Start If argc==3 i.e if number of arguments passed is 3, then store 1st command-line…
Q: uppose you designed a TAXI FARE SYSTEM and you want to valuate the fare in according to the…
A: I have written the following code below:
Q: Q4, a mechanical pump whose rated speed is (Sm=15 cfm) is connected by a pipe and valve to a vacuum…
A: Please refer to the following steps for the complete solution to the problem above.
Q: Problem: Write a C++ program that would implement the function called filterString which accepts a…
A: The program is written in C++. Check the program screenshot for the correct indentation. Please…
Q: A military academy accepts candidates according to the following height and weight requirements…
A: FUNCTION boolean checkHeight (int height, char sex) if sex is 'M' or 'm' : return (h>=65…
Q: PROBLEM: Write a C++ program that will allow the user to input the First Name, Last name, Middle…
A: #include <iostream>using namespace std; int main(){ string FirstName, LastName,…
Q: Write a program that, given a number of hours, calculates the number of weeks, days, and hours…
A: Question 1 : Algorithm : Step 1 : declaring and initializing the variables. Step 2 : ask for…
Q: In C programming language, if the first and the second operands of operator + are of types int and…
A: Question Given:- In C programming language, if the first and the second operands of operator + are…
Q: Write a C++ program that takes user inputs and display the monthly record of employees and their…
A: class Employees{ private: int id,salary; string name; static float avg_sal;…
Q: Write a C program to that accepts an email address (first command line argument) and a cellphone…
A: Code: #include<stdio.h>#include <stdlib.h> //function that counts all occurrences of the…
Q: Write a C++ program that calculates and displays the avarage mark in (%) of 3 subjects e,g…
A: Provided below is the C++ program that calculates and displays the average mark in (%) of 3…
Q: In C++ Write a C++ function that has a floating point parameter called distance. Your function…
A: void sun_planet(float distance) { cout<<"The sun was "<<distance<<" miles from…
Q: In C++ Read and understand the following problem: 1. Write a program that accepts from the user a…
A: Here we need to accept quantity and price of that product.
Q: 1. This submenu is a very handy tool in monitoring how the variables handled its value while they…
A: Solution of given Question from 1-5 are given their
Q: write a program in c++. You work for a box company, and have been asked to write a program to…
A: Below is the required C++ program. Program Approach: Include necessary header files and using the…
Q: in C# Sometimes figuring letter grades is hard. Write a program that asks for, and reads from the…
A: C# program
Q: write a program in c++. You work for a box company, and have been asked to write a program to…
A:
Q: SOLVE IN C PROGRAMMING LANGUAGE Q# 4. Illustrate your knowledge of C-Programming by implementing a…
A: Given: To write a C-Programming to implement a 'Game of Dice'. The user will start with 3 lives and…
Q: PROBLEM: Write a C++ program that will allow the user to input the First Name, Last name, Middle…
A: 1)Read the input from the user first name, last name, middle initial and Grade 2)Display the first…
Q: B) R1= 20, R2=40 resistors are connected in series and R3=120, R4=40 resistors are connected in…
A: the answer to above question:
Q: Use the following skeleton code to write a C program (NOT C++) which filters out words from input…
A: Find a code implementation below.
Q: Employees in a company receives net salary after the deductions for tax, Staff Provident Fund (SPF),…
A: - We will take the input salary - We will apply the conditions as requested - Calculate the actual…
Q: Write a complete C++ program that calculate a patient's treatment charge based on the types of…
A: C++ code for the requirement: #include <iostream>using namespace std; float…
Q: Please help, this question was rejected for complexity but I really don't have any one else to ask!…
A: SUMMARY: -Hence, we got the result.
Q: In my C++ program, I am trying to write code that will check command line arguments for "-amount"…
A: Note:The expression “floor(x)-x!=0” can be used to check whether the value of “x” is a double…
Q: Question 1 Employees in a company receives net salary after the deductions for tax, Staff Provident…
A: PROGRAM CODE: #include <stdio.h> // include header file for input output…
Q: You are required to develop a C++ program using C++ structures, arrays, and user defined functions.…
A: Given question has asked to develop a C++ program in which the college stores each student’s full…
Q: Suppose that the tuition for a university is $10,000 this year and increases 5% every year. Write a…
A: To write a code to computes the tuition in ten years and the total cost of 4 years’ worth of tuition…
Q: Question 4 OneAuni is a sandwich shop which provides a variety of sandwiches. The following are the…
A: Answer : In the above a question we have to do a cpp code of following OneAuni sandwich shop, so I…
Q: write a C++ program. Write a program that receives a numeric check amount, that is less than…
A: #include<iostream> #include<string> using namespace std; // This function coverts…
Q: In C, design a program that will read an arbitrary number of proverbs from the keyboard and store…
A: PROGRAM: // Header files #include <stdio.h> #include <stdlib.h> #include…
Q: You are required to write a complete C++ program for a simple grading system. You need to input…
A: Use a do-while loop to check whether to continue inside loop or not
Q: SOLVE IN GRAMMIN UAGE Q# 3. Illustrate your knowledge of C Programming by implementing a Bank ATM…
A: Given: To create a C program for Bank ATM machine.
Q: Illustrate your knowledge of C Programming by implementing a Bank ATM Machine as a C-Program.…
A: #include <stdio.h>int withdraw(int b){int w;printf("Plese enter withdraw…
Q: An Auto Insurance Program Example - Write a C++ program to determine the cost of an…
A: PROGRAM: //Header File #include <iostream> using namespace std; //Defining main int main() {…
Q: Write a C++ program having the following functionality. You will create bank accounts (either…
A: Given: Details for creating bank accounts for two people. Programming language: C++ Aim: Annual…
Q: 3. The ABC Lumber Co. asks you to write a Phyton program that would produce a table of g properties…
A: Program description: base is the list that stores the base sizes of lumber. height is the list that…
Q: using C-programming; Write the following functions that compute the volume and surface of a sphere…
A: Write a C program which implements the following functions: float sphereVolume(float r)float…
Q: write a C++ program that calculates and displays the avarage mark in (percentage) of 3 modules for…
A: This program is made with C++ program language using procedural approach. We have used two for loops…
Q: Use DEV-C++ to develop a well-documented C++ program that: 1) Prompts the user to enter from the…
A: Code: #include <iostream>using namespace std;int main() { int n; //Iterating through the…
Q: Write a program that will calculate and print bills for the city power company. The rates vary…
A: The C++ program with the given description will be created as follows: Declare int variables for ID…
Step by step
Solved in 3 steps with 1 images
- TID items_bought 100 {M, O, N, K, E, Y} 200 {D, O, N, K, E, Y} 300 {M, A, K, E} 400 {M, U, C, K, Y} 500 {C, O, K, I, E} Which of the following are maximal itemset in the table above, when minsup is 40%? a. {K, C} b. {M, K} c. {O, N, K, Y}A6. Suppose a farmer decided to keep individual records for the new cattle. His records show 4 bred heifers valued at $900; 5 cows valued at $1,000, and 1 bull valued at $2,000. Using the chart below, setup the individual records for each animal for year 1. Make sure that your animal ID for each type of animal is different, for example, bred heifers can start at 22-1, etc.; cows can start at 22- 01, and the bull can be 22-001.Convert Python to R costs = pd.read_csv("Inpatient_Prospective_Payment_System__IPPS__Provider_Summary_for_the_Top_100_Diagnosis-Related_Groups__DRG__-_FY2011.csv") costs = costs.rename(columns = {'DRG Definition': 'DRG',' Average Total Payments ': 'Total_Cost', # Note spaces around ' Average Total Payments '' Total Discharges ': 'Count_Discharges'}) # Note spaces around ' Total Discharges ' costs[['DRG_Code', 'DRG_Description']] = costs['DRG'].str.split(' - ', expand = True) # Note spaces around ' - 'costs = costs.drop(['DRG'], axis = 1) costs['Avg_DRG_Cost'] = costs.groupby('DRG_Code')['Total_Cost'].transform(np.mean)costs['Cost_Diff'] = costs['Total_Cost'] - costs['Avg_DRG_Cost'] top_drgs = (costs.groupby('DRG_Code')['Count_Discharges'].sum().sort_values(ascending = False)) top_drgs.index[0] (costs.query("DRG_Code == '470' and 'Provider State' == 'CA'").to_csv("Hip_Replacement_Costs_by_Hosp.csv", index = False))
- A staff number of a BigHit company is composed of 2 non-vowels uppercase alphabets and 3 digit mumbers. i How many staffnumbers can be generated if the company requested to start the first letter with J and the 3 digit numbers (repetition not allowed)? ii. How many ways the staff number can be formed if it has any consonants and odd numbers with repetition allowed?Addition Rule Product Rule Log Exponent Rule Log Base Rule Transitivity In the following section, indicate what reference function (g(x)) we should use when attempting to prove that f(x) is O(g(x)). Use the rules and reference functions above to guide you. f(x)=n+log2n f(x)=n2+log n4 f(x)=n2∗n3 f(x)=n5/n2 f(x)=n∗(log n)∗n f(x)=n+n log n+log nMa1. 1) On a Bank Reconciliation, if our check was written for $492.83 and was processed as such by the bank, but had been shown in our company's accounting records as a check for $498.23, we would code this as a C+ item.T rue or False 2) In the Bottom-Up method of calculating required revenue, we treat the amount of desired net income (once we have calculated how much it should be) as:a. a variable cost. b. a step cost. c. unnecessary for the calculation. d. a fixed item. e. none of the above. 3) A large F variance from budget in a revenue item should be investigated. True or False 4) If a Bank Reconciliation cannot be made to balance, then something unusual has occurred and must be investigated. True or False 5) In preparing a bank reconciliation, we will code an NSF check (using the fabulous Bessner system) as: a. a C+ item. b. a C- item. c. a B+ item. d. a B- item. e. none of the above. 6) If a company wants to end up with an AFTER-TAX profit of $25,000, and its tax rate is 38%,…
- The 10 Richest People in the World 2023 (Excel) Rank Name Age Wealth ($bil) Wealth per year 1 Bernard Arnault & Fam 74 211 2 Elon Musk 51 212 3 Jeff Bezos 59 213 4 Larry Ellison 78 214 5 Warren Buffet 92 215 6 Bill Gates 67 216 7 Michael Bloom 81 217 8 Carlos Slim & fam 83 218 9 Mukesh Ambani 65 219 10 Steve Ballmer 67 220 Total Average Create a formula to work out the wealth per year for each person. To do this you must divide wealth by age and then copy the formula down. 2. Use functions to work out the total and average wealth per year at the bottom of the list. NB: Use the SUM & Average functions to do this. 3. Adjust the Name column so that the text is completely visible. 4. Format the Wealth ($bil) Column to display the figures in currency…Suppose the university has decided to announce bonus 1 PMS point to employees those have PMS points more than 7. The appraisal will be based on PMS points. We have an array of employees with UID andPMS point . Display the list of employees those would be benefitedwith bonus. The bonus should be added to the employees who haveUID and PMS through the concept of list comprehension. USING PYTHONSuppose we have a nice young couple who borrow $700000 from the bank, at an annual interest rate of3.124%. The mortgage is a 30 year loan, so they need to pay it off within 360 months total. Our happycouple decide to set their monthly mortgage payment at $2000 per month. Will they pay off the loan intime or not?Note that the monthly balance will be calculated asbalance = (im × previous balance) - monthly paymentwhere the convert annual interest to a monthly multiplier im is calculated as im = (1 +i)1/12 and i = annualinterest rate.Write a loop for track the total payment in 360 months so that we can evaluate if the couple can pay off theloan. Write in R Please and thank you.
- The 10 Richest People in the World 2023 Rank Name Age Wealth ($bil) Wealth per year 1 Bernard Arnault & family 74 211 2 Elon Musk 51 212 3 Jeff Bezos 59 213 4 Larry Ellison 78 214 5 Warren Buffett 92 215 6 Bill Gates 67 216 7 Michael Bloomberg 81 217 8 Carlos Slim & family 83 218 9 Mukesh Ambani 65 219 10 Steve Ballmer 67 220 Total Average 1 Create a formula to work out the wealth per year for each person. To do this…PYTHON QUESTION : The Syracuse sequence of an integer N is the sequence of integers starting with the term N, where each following term is half of the preceding term if it is even, and one plus three times the preceding term if it is odd. The sequence ends when it reaches the integer 1. The maximum of the Syracuse sequence of an integer N is the highest number reached by this sequence. This maximum can sometimes be very high compared to the starting integer N. What is the maximum of the Syracuse sequence of 3428767? To answer this question it is useful to modify the code given in demonstration which calculates the Syracuse sequence. The code given in the demo : n = 27 print(n) while n != 1: if n%2 == 0: n = n // 2 # where n //= 2 or n >>= 1 else: n = 1 + 3*n print(n)In a pizza topping preference poll, people voted for their favorite toppings as follows: Topping Votes Mushrooms 8 Cheese 27 Pepperoni 36 Sausage 16 Bacon 23 Construct a Pareto chart for the data. What is the relative frequency for the preference of sausage? 52.2% 27% 14.5% 16% 57.6%