Question

Write a complete C program to calculate the average salary of the workers in a company. The program should take 10 employee’s classes, F for full-time, P for part-time and V for visitor (F, P, V) from the user and then calculate the average salary by applying the following salary scale:
Class F = 2000 TL, Class P = 800 TL, Class V =700 TL

Expert Answer

Want to see the step-by-step answer?

Check out a sample Q&A here.

Want to see this answer and more?

Experts are waiting 24/7 to provide step-by-step solutions in as fast as 30 minutes!*

*Response times may vary by subject and question complexity. Median response time is 34 minutes for paid subscribers and may be longer for promotional offers.
Tagged in
Engineering
Computer Science

Programing Language

Related Computer Science Q&A

Find answers to questions asked by students like you.

Q: Write instructions that calculate the parity of a 32-bit memory operand. Hint: Use the formula prese...

A: The parity bits are basically the bits added to the string of binary code. They are utilized as the ...

Q: Your son intends to randomly mention some numbers to you, write a program using While or do-whileloo...

A: Program code: //Header file #include <iostream> #include <string> //namespace using nam...

Q: Explain, what main functions under an InfoSec program would you recommend a smaller organisation wit...

A: The InfoSec program is used for designing, implementing and maintaining an information process, whic...

Q: Construct a dfa that accepts the language generated by the grammar                S         abA,   ...

A: Deterministic Finite Automata (DFA):

Q: A publishing house prints and distributes two types of publication: books and journals. Each book ha...

A: Click to see the answer

Q: What are the causes of resource hogging in operating systems?

A: Resource hogging in operating system Resource means the operating system is unable to provide prope...

Q: Python Programming In this program instead of using random integers to create the 3-by-3 array(menu ...

A: Remove  np.random.randint(10, size=(3, 3)) in each if else statement.   Add a loop on the top of the...

Q: Can enumerators be used in a loop to step through the elements of an array? Why or why not?

A: Enumerated data type: This is a programmer defined data type and the elements contained in it are ...

Q: Why does the function NVL(shipdate, 'Not Shipped') return an error message?

A: Explanation: The NVL() function is used to replace NULL value with another value. Here, the NVL fun...

Q: Computer Science Question

A: As per policy, only the first three parts are answered.  Input  Output  Explanation -4 -0.25 1/...

Q: (a) The use of computers in education is referred to as computer-assisted instruction (CAI). Write a...

A: Programming instructions:   Include the necessary header files. Declare the required variables. Use...

Q: Give the considerations for designing a system interface, pertaining to information onset display.

A: Solution: System Interface:Two or more  components of a computer system exchange information through...

Q: NB: Your project work is to be zipped Design any database project. and use it to answer the followin...

A: Since it is not mentioned, which programming language we have to use to create the database. We will...

Q: Write a C program that acquires a sequence of characters from the keyboard. The sequence ends onceth...

A: Programming instructions:   Include necessary header files. Declare variables. Take input from the ...

Q: Which Win32 function lets you change the size of the cursor?

A: The SetConsoleCursorInfo lets us modify the size of the cursor. It sets the size visibility of the c...

Q: what kind of audit program that needs to be made to detect the vulnerability inside EasyJet firewall...

A: Security auditing is of greatest priority and involves regular and strict monitoring that includes v...

Q: How do you make a property read only?

A: NOTE: - The programming language is not mentioned, so below explanation is in C# language. Whenever ...

Q: Briefly explain operator precedence

A: Operator precedence Operator precedence is used to determine the grouping of terms in an expression...

Q: 1. What is meant by Firewall Vulnerability Exploit.2. Whether the Cloud Application from EasyJet has...

A: Hey, since there are multiple questions posted, we will answer first question. If you want any speci...

Q: Given a directed line from point p0(x0, y0) to p1(x1,y1), you can use the following condition to dec...

A: Program: import java.util.Scanner;public class Main{    public static void specifyposition(int x0,in...

Q: You are required to write a JApplet that produces a picture similar to the illustration below, and w...

A: Steps to run the below-given code: 1) Open any Java Integrated Development Environment such as an ec...

Q: How do you switch between the Designer and the code editor?

A: Switching between the Designer and the code editor:   While developing the application, one need to...

Q: Assume you have added eight new orders to the ORDERS table. Which of the following is true?a. Other ...

A: Introduction- Insert command in a database is a DML (Data Manipulation Command) which is used to ins...

Q: Which of the following advances the insertion point to the next line in a control?a. Control.Chars.A...

A: The “ControlChars.NewLine” constant is used to advance the insertion point to the next line in a con...

Q: Which of the operators in the expression 6 + 7 * 3 > 25 – 2 is evaluated first?a. + b. * c. > ...

A: Click to see the answer

Q: Write a program named filereader.py that reads and displays the data in friends.txt. This program sh...

A: 1. Open the file  2. Read the file line by line and split each line by Space and store it into the l...

Q: Give Description of GetLargestConsoleWindowSize function.

A: GetLargestConsoleWindowSize : It is the function used to get the  size of the largest possible conso...

Q: Consider a perceptron with ten inputs 3, 1, 2, 7, 11, 4, 8, 5, 10, 15 and corresponding weights of 0...

A: Σ xiwi = 3(0.2) + 1(0.4)+ 2(0.1)+ 7(0.15)+ 11(0.22)+ 4(0.4)+ 8(0.5)+ 5(0.61)+ 10(0.45 )+ 15(0.3)    ...

Q: Why are device drivers necessary, given that the BIOS already has code that communicateswith the com...

A: The BIOS only contains code to make contact with a restricted subset of devices needed to start up t...

Q: Identify three key organs that are involved in effective listening

A: Effective listening:- It is a technique in which the listener not only listens to the speaker with u...

Q: Database Foundations: Design a database to produce the following reports. Do not use any surrogate ...

A: Database Design: DBDL stands for database definition language It is a format to represent table by l...

Q: The item that appears in the text portion of a combo box is stored in which property? a. SelectedTex...

A: Property in which the item in a combo box is stored The SelectedText property is used to store the ...

Q: A __________ object is an object that is associated with a specific file and provides a way for the ...

A: The file object enables us to utilize, access, and manipulate every user-accessible file. One can wr...

Q: The storage locations in an array are known as __________. a. elements b. sectors c. pages d. blocks

A: Array: An array is defined as a group that consists of similar data types, but the size of array can...

Q: Can You please Help me to Design ER Diagram Crow Notation Style DEPARTMENT (D_NAME, D_LOCATION, FAC...

A: The following is the ERD in crow’s foot notation:

Q: Explain distributed architectural patterns. Critically!!, discuss pros and cons.

A: Distributed architecture patterns Distributed architecture patterns are composed of various hardwar...

Q: When a procedure written in assembly language is called by a high-level language program,must the ca...

A: When calling assembly language procedures from the high-level languages: Both should utilize the sa...

Q: Write a program named program52.py that has a main() function and a value returning function named n...

A: Use if_name_=='_main_': which can be used to start excution at main.   When the python interpreter r...

Q: Write a c++ program that helps the business owner of crops to keep track of the total sales that he ...

A: PROGRAM EXPLANATION: - The program of five sales amount variables to represent the amount earned by...

Q: Create a database whose tables are at least in 2NF, showing the dependency diagrams for each table.

A: Dependency diagram for database table The database table of Table1 is                    Table1 (...

Q: I need help making a truth table. Could you help me out?

A: Below gates are used in the given circuit: - OR gate: - The two-input OR-gate gives a single output ...

Q: Explain the Kruskal’s shortest spanning tree algorithm with a suitable example by taking a graph wit...

A: Minimum Spanning Tree: The cost of a spanning tree is calculated as sum of weights of edges. A minim...