1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
andriy [413]
3 years ago
9

I need your help with the following homework assignment:

Computers and Technology
1 answer:
pentagon [3]3 years ago
3 0

Answer:

There are two portions of this question; first is the program to solve the problem and second is to make documentation of that program.

a) A program required by a supermarket owner to calculate gross salaries of the workers with comments for explanation.

b) The raptor to illustrate the working of the program.

Explanation:

#include<iostream>

using namespace std;

main()

{

// variables decleration

int EmployeeID;

float HourlyRate;

int RegHours;  

int OvertimeHours;

float GrossPay;

float Tax;

float Parking;

float NetPay;

 

// input data

cout<<"Enter Employee ID:";

cin>>EmployeeID;

cout<<endl;

cout<<"Enter Hourly Rates:";

cin>>HourlyRate;

cout<<endl;

cout<<"Enter Regular Work Hour:";

cin>>RegHours;

cout<<endl;

cout<<"Enter Overtime Hours:";

cin>>OvertimeHours;

 

// calculation salary

GrossPay = (RegHours * HourlyRate) + (OvertimeHours * (HourlyRate * 1.5));

Tax = GrossPay * (30 / 100);   //tax is 30% of the Gross Pay

Parking = 10;       //parking is $10

NetPay = GrossPay - (GrossPay * Tax) - Parking;

//output information

cout<<endl;

cout<<"****RESULTS****"<<endl;

cout<<"Employee ID  :"<<EmployeeID<<endl;

cout<<"Gross Pay   :$"<<GrossPay<<endl;

cout<<"Net Pay     :$"<<NetPay<<endl;

}

You might be interested in
The collections framework algorithms are __________, i.e., each of these algorithms can operate on objects that implement specif
Ad libitum [116K]
<h2><em>C.) Polymorphic.</em></h2><h2><em></em></h2>

Just trust a bro, its correct.

4 0
3 years ago
Read 2 more answers
Write a short note on Computer<br>impact on<br> our society?​
Vesna [10]

well not a note but here are some few points

Explanation:

1 Computers can have the huge impact on employment of people like job and other stuff.

2 lots of human can be jobless or unemployed

3 it can cuz impact on the health of peoples

4 it also can make us lazy and and lack of self knowledge

8 0
3 years ago
Read 2 more answers
In the context of object-oriented programming a(n) is a template for a group of objects with similar characteristics.
MArishka [77]

A class is a template for a group of objects with similar characteristics.

An object-oriented programming uses objects, instead of <em>functions and logic </em>to model software designs.

In an object-oriented programming, there are:

  • Objects
  • Classes
  • Methods
  • Etc

Objects are what make up the object-oriented programming.

Similar objects are grouped together into classes

Hence, the text that completes the blank is class

Read more about object-oriented programming at:

brainly.com/question/22530356

7 0
3 years ago
A list that is not sorted by numbers is called a?
Feliz [49]

Answer:

An unordered list(HTML)

6 0
4 years ago
Why should you keep lines of code short?
Nataly [62]

The programmers should keep lines of code short because It makes the code more readable by other programmers.

<h3>Short lines of Code</h3>

Normally, a shorter lines of code are more efficient than spreading the code over several lines

Also, If a programmer have more lines of code, there are more places for bugs to hide and finding them might be more of a hassle.

So, the fewer lines of code can achieve the same results or much better than many lines of code

Hence, the programmers should keep lines of code short because It makes the code more readable by other programmers.

Therefore, the Option A is correct.

Read more about Short lines of Code

<em>brainly.com/question/20475581</em>

3 0
2 years ago
Other questions:
  • Software that interprets commands from the keyboard and mouse is also known as the A.hard drive.B.operating system.C.desktop or
    7·2 answers
  • Write a program whose input is two integers and whose output is the two integers swapped. Place the values in an array, where x
    12·1 answer
  • Ben works at a top accounting firm in Salt Lake City and his responsibilities include developing individual and departmental goa
    9·1 answer
  • Which phase takes all the detailed design documents from the design phase and transforms them into the actual system? Testing ph
    7·1 answer
  • You notice that it’s very easy to confuse medications at the community health center where you’re working. They are lined up on
    10·1 answer
  • What types of issues can you most likely resolve by knowing how to access and use the control panel choose all that apply?
    10·1 answer
  • Regular languages are closed under complement. True False
    7·1 answer
  • What can help you estimate how much money you might get in
    7·1 answer
  • If you wish to install a new OS without disturbing the old one so that you can boot to either OS, what type of boot setup should
    6·1 answer
  • What is the encoding technique called that is used to store negative numbers in the computer's memory
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!