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
- The following is a table of applicants to be considered for admission into 07BSAM: POINTS MATH SYMBOL 123 450 NAMES STUDENT NUMBER ENG SYMBOL To qualify for admission, an applicant should have at least 25 points, minimum of B symbol in Mathematics and a minimum of E symbol in English. If an applicant has a C symbol in Mathematics, then the applicant must pass an entrance test to be considered for admission. Hints: There are three modes of study: The Full-time mode, the Part-time mode and the Distance mode. Applicants can choose which mode they want provided there is space in that mode. Each of the Full- time and the Part-time modes cannot accommodate more 30 admitted students. After these two modes are full, every other qualified applicant is admitted in the Distance mode. The admission exercise is first come first served. Write a pseudocode that identifies the applicants that qualify for admission and outputs their names, student numbers and modes of study. Use a FOR-LOOP /…in a shop ,there are 10 employee and 20 kinds of goods,goods id between 1-20 EMPLOYEE id first name last name gender 10001, 'Tom', 'Brown', 'F'10002, 'Elizabeth', 'Tremblay', 'F'10003, 'Gladys', 'Julie', 'F10004, 'John', 'Taylor', 'M10005, 'Amelia', 'Smith'10006, 'Logan', 'Katherine'10007, 'Leo', 'Brown'10007, 'Lem', 'Thompson'10009, 'Tom' 'Smith'10010, 'Emma', 'Campbell' ------------ and I want to add a name library in it ,like this how could i create a HTML file ,with will randomly create customers with these employee . there is a start button on the page . press "start "bottom ,and it will It will randomly match 10 items, customers, and goods, display goods id ,customername and gender ,employer name , id and gender . how to do such a page ?Correct answer will be appreciated.else downvoted.
- Table (A) shows the individual income tax rates for assessment year 2020. Table (A): Income tax rates assessment year 2020 Chargeable Income (RM) 0- 5,000 Calculation (RM) On the First 5,000 On the First 5,000 Next 15,000 On the First 20,000 Rate % Таx (RM) 5,001 – 20,000 1 150 150 20,001 – 35,000 3 Next 15,000 450 On the First 35,000 Next 15,000 600 35,001 – 50,000 8 1,200 Write a complete C program to prompt the user to enter the total chargeable income (RM), and then calculate the tax based on the calculation given in Table (A). For example: Prem's chargeable income = RM30,000 (RM20,000 + RM10,000) Total tax = RM150 (for first RM20,000) + RM300 (3% x RM10,000) = RM450 The program will then display the result which is the total amount tax needed to be paid in Ringgit Malaysia (RM), up to three significant digits after the decimal point. Requirements: Apply one return value function, include parameter list if necessary - Apply one non-return value function, include parameter list if…Whoever must play, cannot play def subtract_square(queries): Two players play a game of "Subtract a square", starting with a positive integer. On their turn to play, each player must subtract some square number (1, 4, 9, 16, 25, 36, 49, ...) from the current number so that the result does not become negative. Under the normal play convention of these games, the player who moves to zero wins, leaving his opponent stuck with no possible moves. (In the misère version of the game that has otherwise identical rules but where you win by losing the original game, these definitions would be adjusted accordingly.) This and many similar combinatorial games can be modelled with recursive equations. This game is an example of an impartial game since the moves available to both players are exactly the same, as opposed to “partisan games” such as chess where each player can only move pieces of one colour. A game state is therefore determined by the remaining number alone, but not by which player has…Order Number: 5678 Customer Number: 9123 Customer Name: Thomas Customer Address: 51 Samora Machel Street City- Country: Durban, South Africa ProductNo A 123 B 234 C 345 Description A4 Paper Order Form Toner Staples Normal Form Quantity 100 200 1000 Date: 25/12/2020 Unit Price R1.00 R150.00 R5.00 1.1 Using normalization principles, depict the ONF, 1NF, 2nd NF and 3rd NF of the data above. Example: Below is an example of the table information converted to zero normal form, read chapter five in your module guide and convert the table to first, second and third normal form. The format of your answer must be as depicted below: • ORDER( order number, customer number, name, address, order date(product number, description, quantity, unit price))
- Q7:The electricity accounts of residents in a very small town are calculated as follows: if 500 units or less are used the cost is 2 cents per unit; > if more than 500, but not more than 1000 units are used, the cost is $10 for the first 500 units, and then 5 cents for every unit in excess of 500; > if more than 1000 units are used, the cost is $35 for the first 1000 units plus 10 cents for every unit in excess of 1000; in addition, a basic service fee of $5 is charged, no matter how much electricity is used. Q8:Write a program which enters the following five consumptions into a vector, and uses a for loop to calculate and display the total charge for each one: 200, 500, 700, 1000, 1500. (Answers: $9 $15, $25, $40, $90)Hospital :ER Case Study A General Hospital consists of a number of specialized wards (such as Radiology, Oncology, etc) .Information about ward includes unique name, total numbers of current patients. Each ward hosts a number of patients, who were admitted by a consultant (doctors) employed by the Hospital. On admission, the date and time are kept. The personal details of every patient includes name, Medical Recode Number (MRN), set of phone and one address (city, street, code). A separate register is to be held to store the information of the tests undertaken. Each test has unique episode No. , category and the final result of test. Number of tests may be conducted for each patient. Doctors are specialists in a specific ward and may be leading consultants for a number of patients. Each patient is assigned to one leading consultant but may be examined by other doctors, if required. uHospital :ER Case Study A General Hospital consists of a number of specialized wards (such as Radiology, Oncology, etc).Information about ward includes unique name, total numbers of current patients. Each ward hosts a number of patients, who were admitted by a consultant (doctors) employed by the Hospital. On admission, the date and time are kept. The personal details of every patient includes name, Medical Recode Number (MRN), set of phone and one address (city, street, code). A separate register is to be held to store the information of the tests undertaken. Each test has unique episode No., category and the final result of test. Number of tests may be conducted for each patient. Doctors are specialists in a specific ward and may be leading consultants for a number of patients. Each patient is assigned to one leading consultant but may be examined by other doctors, if required.
- Problem 2 Concert Tickets 8 points There are three tickets for a concert. The VIP tickets cost $120, premium tickets cost $80, and regular tickets cost $40. Prompt the user how many tickets of each category he would like. Then print an invoice with overview of the order and total price. Include a sales tax of 9.25%. How many tic kets would you like to order? VIP Tickets ($120): 0 Premium Tickets ($80) : 4 Regular Tickets ($40): 2 Invoice: $120 x 0= $ 0.00 $ 80 X 4 = $320.00 $ 40 x 2 = $ 80.00 9.25% $ 37.00 VIP: Premium: Regular: Sales Tax: Total Price: $437.00123 4 5 6 7 8 A B Paper Type Name Letter Stock 65lb Cover Stock Premium White Copy Paper 2 Hole punch Letter Ultra-White Cardstock C Quantity 100 17 25 66 87 DE Discount 25% 5% 10% 15% 20% F Order Discounts G Minimum Quantity Discount 0 25 50 75 100 5% 10% 15% 20% 25% In the above spreadsheet, create a formula in cell D4 that uses the VLOOKUP function with the table array $F$4:$G$8. The formula will determine the applicable discount for each paper type order. You should be able to autofill this formula down through cells D4:D8.5)ln cell G9, write a formula to determine if any of the bidders has a True value for Rule 1. Copy the formula across the row to analyze the remaining rules. 6)ln cell G10, write a formula to determine if none of the bidders has a True value for Rule 1. Copy the formula across the row to analyze the remaining bidders. Copy the formula across the row to analyze the remaining rules. PO 527 Bidder List Financial Evaluation D&B Composite Credit Previous D&B D&B Stress Experience Net Worth Appraisal PAYDEX Risk Class Grade (Dollars) Ribba Technology Satisfactory $ 5,000,000 286,000 Bidder List (1 Best) (100 Best) (1 Best) 89 79 Rule 1 Rule 2 Rule 3 1 False False True False True TDR Corporation Satisfactory ComputerX Assoc. Satisfactory Exceed WR Roberts Inc. True True True True 2 False 4,560,000 1,089,000 True False 93 None 45 3 2 Unsatisfactory 23,459,000 68 False False False 312N