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
Anastasy [175]
3 years ago
10

This class is missing a number of functions. Rewrite the class declaration to follow best practices, e.g, operators, three impor

tant functions, and printing. The functions you write must be const-correct. You do not need to create, an iterator, begin function, or end function. class AppointmentSequence private: std::string title: 11s short description One Appointment Node Linked List Building Block struct Node Appointment data: // Stored Appointment Node *next: 11/< Next Node Node ) Node (Appointment appointment) public: " Create an empty Appointment AppointmentSequence) *Add an Appointment to the sequence bool addAppointment (const Appointment& appointment):
Computers and Technology
1 answer:
astraxan [27]3 years ago
3 0
It is an appointment of sequential points
You might be interested in
A web application with an SQL server database is found to be compromised by an attacker. On examination, the email IDs of the da
Thepotemich [5.8K]

Answer:

This is what we call SQL Injection.

• SQL Injection is when an attacker compromises your database only if it is vulnerable.

• Vulnerability includes leaving an empty ""(value) or forgetting to close anything that could be attacked.

• Ways to prevent injection is to not use string concatenation.

(<em>ex.</em> "hello" + "world")

*  Use parameterized queries.

*   Immediately get rid of any unused code.

5 0
2 years ago
Explain why the scenario below fails to meet the definition an assembly line.
vichka [17]

Answer:

its not an assembly line

Explanation:

assembly lines have ppl who aren't experts and are taught to only do one simple part of a much much bigger thing

4 0
3 years ago
Write a program that reads two fractions such as 1/2 and 1/4 and computes and stores the sum, the difference, the product and th
Vesnalui [34]

Answer:

1: #include <iostream>

2: using namespace std;

3: int main()

4: {

5: int a,b,c,d;

6: cout<<"n1: ";

7: cin>>a;

8: cout<<"d1: ";

9: cin>>b;

10: cout<<"n2: ";

11: cin>>c;

12: cout<<"d2: ";

13: cin>>d;

14: int top = (a*d)+(b*c);

15: int bottom = b*d;

16: cout<<"Sum: "<<top<<"/"<<bottom<<"\n";

17: top = (a*d)-(b*c);

18: cout<<"Difference: "<<top<<"/"<<bottom<<"\n";

19: top = a*c;

20: cout<<"Product: "<<top<<"/"<<bottom<<"\n";

21: top = a*d;

22: bottom = b*c;

23: cout<<"Quotient: "<<top<<"/"<<bottom<<"\n";

24: return 0;

25: }

Explanation:

The Program is written in C++ programming language

The Program is left numbered

Line 5 was used for variable declaration.

Variables a,b represents the numerator and denominator of the first fraction

While variables c,d represent the numerator and denominator of the second fraction

Line 6 prints "n1" without the quotes which represents the numerator of the first fraction

Line 7 accepts input for the numerator of the first fraction.

Line 8 prints "d1" without the quotes which represents the denominator of the first fraction

Line 9 accepts input for the denominator of the first fraction.

Line 10 prints "n2" without the quotes which represents the numerator of the second fraction

Line 11 accepts input for the numerator of the second fraction.

Line 12 prints "d2" without the quotes which represents the denominator of the second fraction

Line 13 accepts input for the denominator of the second fraction.

Line 14 and 15 calculate the sum of the fractions which is then printed on line 16

Line 17 calculates the difference of the fractions which is then printed on line 18

Line 19 calculates the product of the fractions which is then printed on line 20

Line 21 and 22 calculates the quotient of the fractions which is then printed on line 23

5 0
3 years ago
(image attached)
SVEN [57.7K]

Answer:      

The answer to this question is given below in the explanation section.

Explanation:

In this given program there are two errors, first in line number 2 that stores a string value, not int. The second error is at line 6, a symbol "*" represents multiplication, not addition.

To solve these errors, in line #2, convert the input to an int variable value 1. To add the values of variables (value1 and value2), use the plus symbol "+" in the print statement at line #6.

The correct program is given below:

<em>value1= int(input("Enter first number: "))</em>

#get second number and store it into value2 variable.

<em>value2= int(input("Enter second number: "))</em>

#add the values store in variables (value1 and value2) and then print

<em>print (value1 + value2)</em>

7 0
3 years ago
Two types of binocular depth cues are __________ and __________.
OverLord2011 [107]
Binocular depth cues are the 'things' that help us to judge distance. The two main ones that relate to binocular vision are:

1. Convergence.
This is the fact that as we get closer to an object, our eyes begin to point inward to remain focused on the object. I.e. we go cross eyed. 

2. Disparity
This is the fact that our eyes both see a different image when focused on an object because they are actually looking at it from a different perspective (about 6 centimeters apart). This disparity changes based on the object distance from the observer so is also a cue used by our brain to judge distance.
4 0
3 years ago
Other questions:
  • which of the following is not an operating system? A. leopard B. linux C. firefox D. windows
    11·2 answers
  • What is a critique of the feature detector model of object recognition?​?
    8·1 answer
  • token is 64 bytes long (the 10-Mbps Ethernet minimum packet size), what is the average wait to receive the token on an idle netw
    6·1 answer
  • Which key temporarily activates the Hand tool?​
    6·1 answer
  • What is the most common password on the internet?
    11·2 answers
  • 4. What is the simplest way to permanently get rid of an unwanted file?
    12·1 answer
  • What are the OSHA construction standards also called ?
    10·1 answer
  • Which of the following allows computers to communicate with each other? RAM NIC Hard drive Floppy disk
    11·1 answer
  • (2) What isa<br>LAN and what the<br>devices required in<br>setting up<br>LAN?​
    8·1 answer
  • Which of these is a discipline?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!