In C, using switch statements and/or cascaded if statements, write a program that takes a numerical grade from and input file, and converts it into a letter grade. Use the following grading scale: 90-100=A, 80-89=B, 70-79=C, 60-69=D, 0-59=F. Print an error message if the grade is larger than 100.
Q: Big data has become a part of every organization's information technology systems in today's world.…
A: Given: Big data has become a part of every organization's information technology systems in today's…
Q: Which of the following is not a part of active directory structure? * Forest Organizational unit…
A: answer : 3)Group policy Expect this everything is active directory structure.
Q: Write a C++ program that contain a menu rto call user defined functions on a one dimendional array:…
A: Program is written in C++. find the program in below step.
Q: Which conditional jump instruction is the JNA instruction's equivalent?
A: Which conditional jump instruction is the JNA instruction's equivalent?
Q: What will be the impact of the internet of things (IloT) on our everyday lives? Justify your…
A: Introduction: IoT is a network of networked, internet-connected devices that can gather and transmit…
Q: What Is SDLC?
A: This question comes from Software Engineering which is a paper of Computer Science. Let's discuss it…
Q: o do many things a
A: IntroductionYour ability to juggle several obligations and manage your time can help you advance in…
Q: owing directives prevents a macro fro
A: Below directives prevents a macro from growing any further
Q: Consistency is critical in the design of operating systems when dealing with the management of…
A: Concurrency Concurrency is the method through which activities are interleaved in time to create the…
Q: MPUTER PROGRAMMING... Choose all the valid variable names. A. point_2_point B.…
A: Choose all the valid variable names. A. point_2_pointB. wage125C. savings#accountD. _grossE. annual…
Q: Has society become to dependent on computer applications for commerce, communications, or social…
A: Answer
Q: What considerations should be taken into account while selecting a database management system…
A: INTRODUCTION: A DBMS is a Database Management System used to store and retrieve data. The primary…
Q: Why do you believe Trevor Noah had to ask the same question three times about the proper manner to…
A: Introduction: Why do you believe Trevor Noah had to repeat the question on the proper method to…
Q: When it comes to fixing a data corruption problem, what should be the first step in the process of…
A: Introduction: Corrupted data is defined as a file that has been altered from its original condition.…
Q: Why are there so many different partitioning algorithms in use by operating systems, and why they so…
A: Introduction: When you partition a computer's memory, you divide it into sections that can be…
Q: Could you please explain the distinction between Harvard computer architecture and von Neumann…
A: Introduction: THE DIFFERENCE BETWEEN CON HUMANE COMPUTER ARCHITECTURE AND HARVARD COMPUTER…
Q: Is it possible to include a try block and its associated catch blocks inside a larger catch block?
A: Nested try block: The Nested try block is defined as an try block with in another try block is…
Q: is a set of one or more in hierarchical structure."
A: Solution - In the given question, we have to fill the correct options.
Q: Write a python program to find the potential energy using the total energy & kinetic energy. All the…
A: PROGRAM INTRODUCTION: Take the value of total energy from the user. Take the value of kinetic…
Q: Explain in fully the notion of cloud computing, including the advantages of using it.
A: answer is
Q: *This is about assmebly programing in general* Explain the difference between the overflow and…
A: INTRODUCTION: The overflow flag is a single bit in a system status register in computer processors…
Q: Explain the naming convention for data-flow diagrams' various layers.
A: Introduction: In DFD, there are several name conventions for various levels.Different processes,…
Q: How do you know whether a system component should be a source or a sink? or as a method?
A: The system's sources and sinks are external.The origin and/or destination of data are referred to as…
Q: What are the DumpMem procedure's input parameters?
A: Introduction: DumpMem operation: It is specified in the library's link definitions. It is used to…
Q: What is an abstract class?
A: abstract class: abstract class are that class which contains both abstract and non-abstract methods…
Q: How is a computational solution assessed to be correct, numerically accurate, and physically…
A: The Answer is given below step.
Q: Network security is one of the most important aspects, if not the most important aspect, in relation…
A: As network security risks continue to escalate, it has never been more important for you to protect…
Q: What are the general criteria for observing workers and collecting data?
A: Introduction: Observing employees must be keen enough to notice items and events.
Q: Can you think of a Linux package management that you have used or are considering using? What makes…
A: Introduction: APT-Linux Package Manager: APT stands is Advanced Package Tool, and it is a user…
Q: Please convert following figure into a relational schema. In each table, the primary key and foreign…
A: Relational Schema:- The relational schema is the representation of the structure of the database…
Q: Specify what you mean by information technology (IT)
A: Definition: Data storage, retrieval, and utilization in various forms are all defined as…
Q: Course: Object oriented programming I "JAVA". What are the advantages of using packages?
A: A Java package is the collection of the classes, interfaces, and the sub-packages that are…
Q: As we have done in the class, provide brief explanations of how to design a Turing machine for the…
A: This question belongs to turing machine and is solved below.
Q: Create a diagram 0 that includes at least three processes and two data stores that would be typical…
A: here we have given a diagram which consists of three processes and two data stores in business. you…
Q: Solve pro blem by using PYTHON Program to re move the ith occurrence of the given word in list where…
A: Solve the problem by using python Program to remove ith occurence of the given word in list where…
Q: What are the benefits of using a methodology when it comes to implementing data security? A…
A: Introduction: When it comes to data security, refers to safeguarding information from illegal access…
Q: Explain why the MUL and one-operand IMUL instructions do not cause overflow.
A: Introduction: The mul instruction multiplies the values of GPR RA and GPR RB before saving bits 0-31…
Q: What are the DumpMem procedure's input parameters?
A: INTRODUCTION: DumpMem procedure: It is defined in the library's link definitions. It is used to…
Q: What are the DumpMem procedure's input parameters?
A: Introduction: Windows Sysinternals utility ProcDump (procdump.exe). It enables you to produce…
Q: Please provide a detailed explanation of how hybrid cloud platforms, such as Dropbox, function.
A: What is cloud computing? In simple language, cloud computing is providing computing…
Q: 1)On the process reporting page you can: Question 4 Select all that apply On the process reporting…
A: The answers for first 3 mcqs given below.because as per company guidelines only 3 questions answer…
Q: What kind of data breach occurred as a result of the Facebook/Cambridge Analytica partnership?
A: INTRODUCTION: What is the sole method of preventing an electrostatic discharge from a CPU? The most…
Q: Write a java code to get the number of electrons passing through a heater wire in one minute, if it…
A: Your Java program is given below as you required with an output.
Q: Explain the different collaboration tools available and how they may be used to improve project…
A: The solution to the given question is: Collaboration technology is a combination of powerful online…
Q: Please convert following figure into a relational schema. In each table, the primary key and foreign…
A: Here entity branch is a weak entity and therefore it will include primary key of bank as prime…
Q: What exactly is the Maple command?
A: Intraduction: COMMANDER MAPLE: The maple command used to automatically finish the work of…
Q: When AX's signed integer is bigger than CX's integer, write instructions to leap to labe
A: Introduction: When the unsigned integer in DX is less than or equal to the integer in CX, write…
Q: Did your perception about call center agents or BPO industry changed? Explain now
A: To appreciate modern-day contact centres that are continually growing with technology breakthroughs,…
Q: A- System.out.print(Math.floor(5.7));
A: Required:- The output of the below program System.out.print(Math.floor(5.7)); Approach:- The…
Q: What are your thoughts on the current and future state of database technology?
A: Introduction: Technology for Databases: A database technology enables significantly quicker data…
In C, using switch statements and/or cascaded if statements, write a
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
- Write a C program that calculates the employee salary and print the information as follows: 1- Your program should first ask the user to enter the basic salary and the extra working hours. 2- Your program should then read the price of each extra hour and tax rate from a file called salary_info.txt. 3- Your program should then calculate the gross salary using the following formula: Gross price = (basic salary + number of extra working hours * extra working hour cost) – (basic salary * tax rate); 4- Your program should also ask the user if he is joining any medical insurance, if yes then you ask him how much is the insurance cost and subtract it from the gross salary. And print the gross salary and the details of the salary (number of extra hours and insurance cost) Your program should include at least two functions: 1- Function calculate_salary which takes the basic salary, number of extra working hours, extra hours cost, and the insurance cost and returns the total salary. 2- Function…Write a C program that calculates the employee salary and print the information as follows: 1- Your program should first ask the user to enter the basic salary and the extra working hours. 2. Your program should then read the price of each extra hour and tax rate from a file called salary_info.txt. 3. Your program should then calculate the gross salary using the following formula: Gross price = (basic salary + number of extra working hours * extra working hour cost)- (basic salary * tax rate); 4. Your program should also ask the user if he is joining any medical insurance, if yes then you ask him how much is the insurance cost and subtract it from the gross salary. And print the gross salary and the details of the salary (number of extra hours and insurance cost) Your program should include at least two functions: 1- Function calculate_salary which takes the basic salary, number of extra working hours, extra hours cost, and the insurance cost and returns the total salary. 2- Function…In c language Using function strtod(), Create a character string that contains the following string: “78.3% is the average success rate” Divide this string into double and display the rest of the string The output will be: The original string is: 78.3% is the average success rate The extracted double value is: 78.3 The remainder of the string is: % is the average success rate
- Write a C++ program that reads a file consisting of students’ test scores in the range 0 – 200. It should then determine the number of students having scores in each of the following ranges: 0 – 24, 25 – 49, 50 – 74, 75 – 99, 100 – 124, 125 – 149, 150 – 174, and 175 – 200. Output the score ranges and the number of students. Run your program with the following input data from file: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 157, 189. The program should have the following functions: • void readData – to read all input values from file. This function has three parameters: the input file variable, an array, and the size. void print – to determine and display the score ranges and the number of students. int main – to call both readData and print functions. Marks are allocated as follows: main function and prototypes void readData void printData indentationWrite a c++ program that reads a file consisting of students’ test scores in the range 0 – 200. It should then determine the number of students having scores in each of the following ranges: 0 –24, 25 – 49, 50 – 74, 75 – 99, 100 – 124, 125 – 149, 150 – 174, and 175 – 200. Output the score ranges and the number of students. Run your program with the following input data from file: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 157, 189.C++ A company hired 10 temporary workers who are paid hourly and you are given a data file that contains the last name of the employees, the number of hours each employee worked in a week, and the hourly pay rate of each employee. You are asked to write a program that computes each employee’s weekly pay and the average salary of all employees. The program then outputs the weekly pay of each employee, the average weekly pay, and the names of all the employees whose pay is greater than or equal to the average pay. If the number of hours worked in a week is more than 40, then the pay rate for the hours over 40 is 1.5 times the regular hourly rate. Use two parallel arrays: a one-dimensional array to store the names of all the employees (Name) a two-dimensional array of 10 rows and 3 columns to store the number of hours an employee worked in a week (Hrs Worked), the hourly pay rate (Pay Rate), and the weekly pay (Salary). Your program must contain at least the following functions: a…
- C++ A company hired 10 temporary workers who are paid hourly and you are given a data file that contains the last name of the employees, the number of hours each employee worked in a week, and the hourly pay rate of each employee. You are asked to write a program that computes each employ- ee’s weekly pay and the average salary of all the workers. The program then outputs the weekly pay of each employee, the average weekly pay, and the names of all the employees whose pay is greater than or equal to the average pay. If the number of hours worked in a week is more than 40, then the pay rate for the hours over 40 is 1.5 times the regular hourly rate. Use two parallel arrays: a one-dimensional array to store the names of all the employees, and a two-dimensional array of 10 rows and 3 columns to store the number of hours an employee worked in a week, the hourly pay rate, and the weekly pay. Your program must contain at least the follow- ing functions—a function to read the data from…C++ A company hired 10 temporary workers who are paid hourly and you are given a data file that contains the last name of the employees, the number of hours each employee worked in a week, and the hourly pay rate of each employee. You are asked to write a program that computes each employee's weekly pay and the average salary of all the workers. The program then outputs the weekly pay of each employee, the average weekly pay, and the names of all the employees whose pay is greater than or equal to the average pay. If the number of hours worked in a week is more than 40 hours, then the pay rate for the hours over 40 is 1.5 times the regular hourly rate. Use two parallel arrays: a one-dimensional array to store the names of all the employees, and a two-dimensional array of 10 rows and 3 columns to store the number of hours an employee worked in a week, the hourly pay rate, and the weekly pay. Your program must contain at least the following functions—a function to read the data from the…Write a C Program A bank wants a program that determines the yearly interest earned on a guaranteed investment certificate (GIC), given a number of years. If the investment is for five years, the interest is 8.2% per year; if it is for one year, the interest is 5%. Print on the screen "Invalid data. Please try again later.", if the user enters any value other than 1 or 5 for the number of years of investment. Write a complete C program to determine the amount of interest earned per year. Hint: Interest - amount * percentage
- Write a C++ program that reads a file consisting of students’ test scores in the range 0–200. It should then determine the number of students having scores in each of the following ranges: 0–24, 25–49, 50–74, 75–99, 100–124, 125–149, 150–174, and 175–200. Output the score ranges and the number of students. (Run your program with the following input data: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 35, 157, 189.)Write a C++ program that reads data from an input file, takes the data and computes student grades for an assignment by converting the raw score to a percentage given each student's score and the total points. The final score must be rounded up to the nearest whole value using the ceil function in the header file and displayed as a percentage. You must also display the floating-point result up to 5 decimal places. You must use at least 2 functions: one to print the last name of the student and another function to compute and print the percentage as well as "Excellent" if the grade is greater than 90, "Well Done" if the grade is greater than 80, "Good" if the grade is greater than 70, "Need Improvement" if the grade is greater than or equal to 60, and "Fail" if the grade is less than 50. The main function is responsible for reading the input file and passing the appropriate arguments to your functions.Write a C++ program that reads data from an input file, takes the data and computes student grades for an assignment by converting the raw score to a percentage given each student's score and the total points. The final score must be rounded up to the nearest whole value using the ceil function in the header file and displayed as a percentage. You must also display the floating-point result up to 5 decimal places. You must use at least 2 functions: one to print the last name of the student and another function to compute and print the percentage as well as "Excellent" if the grade is greater than 90, "Well Done" if the grade is greater than 80, "Good" if the grade is greater than 70, "Need Improvement" if the grade is greater than or equal to 60, and "Fail" if the grade is less than 50. The main function is responsible for reading the input file and passing the appropriate arguments to your functions. Here is an example of what the input file might look like:name score tot possible:…