write the implementation (.cpp file) of the gastank class of the previous exercise. the full specifiction of the class is:

Answers

Answer 1

Answer: (no specifications)

Explanation:

Given that there is nothing listed about the class there would be no specifications for the class. This part of the question will not provide you with enough information to write code.


Related Questions

Write a fragment of Java codes to generate the following output, you are required to use the nested for loop. 1 3 5 3 5 7 5 7 7​​

Answers

Answer:

public class fragmentname extends Fragment{

Activity referenceActivity;

View parentHolder;

Button backBtn;

public View onCreateView(LayoutInflater inflater, ViewGroup container,...

Explanation:

Written below is  Java code snippet that uses nested for loops to generate the specified output:  

for (int i = 1; i <= 3; i++) {

   for (int j = i; j <= i + 2; j++) {

       System.out.print(j + " ");

   }

   for (int j = i + 1; j <= i + 2; j++) {

       System.out.print(j + " ");

   }

}

How does this code work?

When you run this code, it will print the desired output: 1 3 5 3 5 7 5 7 7.

The outer loop iterates from 1 to 3, and the inner loops generate the numbers in the required pattern.

The first inner loop prints the increasing numbers, and the second inner loop prints the repeated numbers.

Learn more about Java  at:

https://brainly.com/question/20814969

#SPJ2

dose anybody know how to look up questions by how many points they give you and if you cant do that we need to be able to do that lol.

Answers

Answer:

Uhh... I don't think we can do that lol.

Networks can be classified by geographical scope as PANs, , and WANs. The cables and signals used to transport data from one network device to another are a communication . Wired channels include twisted pair wires, cables used for cable television, and -optic cables used for high-capacity trunk lines. Wireless channels use signals and microwaves. Government agencies regulate some wireless . The transmission capacity of a channel is referred to as . Channels that are capable of moving at least 25 Mbps are classified as . Networks can be configured in various , such as star, mesh, point-to-point, or bus. Any device in a network is referred to as a(n) . Data equipment includes computers. Data equipment includes modems and routers. Additional DCEs include hubs, switches, bridges, repeaters, and access points. Networks use physical, transport, and arrival communication to set the rules for efficiently transmitting data and handling errors.

Answers

Answer:

1. LANs.

2. Channel.

3. Coaxial; fiber

4. RF; Channels.

5. Bandwidth.

6. Broadband.

7. Topologies.

8. Node.

9. Terminal.

10. Communication.

11. WAP.

12. Protocols.

Explanation:

1. Networks can be classified by geographical scope as PANs, LANs, and WANs.

2. The cables and signals used to transport data from one network device to another are a communication channel.

3. Wired channels include twisted pair wires, coaxial cables used for cable television, and fiber-optic cables used for high-capacity trunk lines.

4. Wireless channels use RF signals and microwaves. Government agencies regulate some wireless channels.

5. The transmission capacity of a channel is referred to as bandwidth.

6. Channels that are capable of moving at least 25 Mbps are classified as broadband.

7. Networks can be configured in various topologies, such as star, mesh, point-to-point, or bus.

8. Any device in a network is referred to as a node.

9. Data terminal equipment includes computers.

10. Data communication equipment includes modems and routers.

11. Additional DCEs include hubs, switches, bridges, repeaters, and WAP access points.

12. Networks use physical, transport, and arrival communication protocols to set the rules for efficiently transmitting data and handling errors.

Write a program (Console or GUI) that determines the change to be dispensed from a vending machine. An item in the machine can cost between 25 cents and 1 dollar, in 5-cent increments (25, 30, 35,…,95, 100), and the machine accepts only a single dollar bill to pay for the item. For example, a possible sample dialog might be the following:

Output: Enter price of item (from 25 cents to a dollar, in 5-cent increments):

45 You bought an item for 45 cents and gave me a dollar, so your change is 2 quarters, 0 dimes, and

Answers

Answer:

Here is the JAVA program:

import java.util.Scanner;  //to accept input from user

public class Main {   //class name

  public static void main(String[] args) {  //start of main function

Scanner input =new Scanner(System.in);  // creates Scanner class object

int amount, quarters, dimes, nickels, pennies,change;   //declare variables

System.out.println("Enter the price of the(from 25 cents to a dollar, in 5-cent increments): ");  //prompts user to enter the price

amount=input.nextInt();   //reads amount from user

change= 100-amount;   //computes change

System.out.println("You bought an item for " + amount+" cents and gave me a dollar, so your change is :");  

quarters=change/25;  //computes quarters

change=change%25;  //computes quarter remaining

if(quarters == 1)   // if quarter is equal to 1

System.out.println(quarters+ " quarter");   //prints quarter value in singular

else if (quarters>1)   // if value of quarters is greater than 1

System.out.println(quarters+" quarters");     //prints plural quarters value

dimes=change/10;  //computes dimes

if(dimes == 1)   // if value of dime is equal to 1

System.out.println(dimes+ " dime");   //prints single value of dimes

else if (dimes>1)   //if value of dimes is greater than 1

System.out.println(dimes+" dimes");  //prints plural value of dimes

change=change%10;   //computes dimes remaining

nickels=change/5;  //computes nickels

if(nickels == 1)   //if value of nickels is equal to 1

System.out.println(nickels+ " nickel");   //prints single value of nickels

else if (nickels>1)   //if value of nickels is greater than 1

System.out.println(nickels+" nickels");   //prints plural value of nickels

change=change%5;    //computes nickels remaining

pennies=change;  //computes pennies

if(pennies == 1)   //if value of pennies is equal to 1

System.out.println(pennies+ " penny");   //prints single value of pennies

else if (pennies>1)    //if value of pennies is greater than 1

System.out.println(pennies+" pennies");     } }  //prints plural value of pennies

Explanation:

I will explain the program with an example:  

Suppose amount= 75  

Then change = 100 - amount= 100 - 75 = 25  

change = 25  

quarters = change/25 = 25/25 = 1  

quarters = 1  

change = change % 25 = 25%25 = 0  

dimes = 0/10 = 0  

Now all other values are 0.  

Now the following line is printed on screen:  

You bought an item for 75 cents and gave me a dollar. Your change is:  

Now program moves to if part  

if quarters == 1  

This is true because value of quarter is 1  

sot "quarter"   is displayed with the value of quarters

Now the following line is printed on screen:  

1 quarter  

So the complete output of the program is:  

You bought an item for 75 cents and gave me a dollar. Your change is:  

1 quarter

A student should be most cautious using a web address ending in

Answers

Answer:

It is .com because all the others are school-safe. And .com is snatch-able.

Explanation:

Answer:

.com

Explanation:

Given that an integer variable i and a floating-point variable f have already been declared and given values: Write a statement in C that displays the values of i and f to standard output in the following format: i=value-of-i f=value-of-f

Two Examples:
Example 1: if the values of i and f were 25 and 12.34 respectively, the output would be: i=25 f=12.34
Example 2: if the values of i and f's value were 703 and 3.14159, (respectively) the output would be: i=703 f=3.14159

Answers

Answer:

Follows are the given statement to this question:

printf("i=%d f=%f", i, f);//print value

Explanation:

The full code to the given question:

code:

#include <stdio.h>//defining header file

int main()// main method

{

   int i;//declaring integer variable

   float f;//declaring float variable

   i=25; //assign integer value

   f=12.34;//assign float value

   printf("i=%d f=%f", i, f);//print value

   i=703;//assign integer value

   f=3.14159;//assign float value

   printf("\n");//for line break

   printf("i=%d f=%f", i, f);//print value

   return 0;

}

Output:

i=25 f=12.340000

i=703 f=3.141590

In the above-given code, the two variable "i and f" is declared, that holds integer and floating-point value in its respective variable and use the print method, to print "i and f" variables value.  

13. Population

Write a program that predicts the approximate size of a population of organisms. The

application should use text boxes to allow the user to enter the starting number of organisms,

the average daily population increase (as a percentage), and the number of days the

organisms will be left to multiply. For example, assume the user enters the following values:

Starting number of organisms: 2

Average daily increase: 30%

Number of days to multiply: 10

The program should display the following table of data:

I'm stuck in this problem in python 1 and also can you guys provide me the flow chart

Answers

Answer:    after day one there is  2   2.6   3.3   9.1   27   81   243  729 2,187

6,561

Explanation:

a brief written summary of employment history, education, and other related
information.
essay
bold
resume
font

Answers

Answer:

Heres my answer

Explanation:

Mention your current job title and professional experience. Say how you want to help the employer achieve their goals. Add info on your key achievements to prove you can deliver results when hired. Limit it to 3 or 5 sentences and use numbers whenever possible.

Answer: c. resume

Explanation:

the measurement is taken around the biggest part of the arm where the sleeve ends​

A. Arm circumference
B. Sleeve length
C. Armhole
D. Bust

Answers

Answer:

A. Arm circumference

Explanation:

The arm circumference is the measurement that goes around your arm at the biggest part of it which would be where the biceps forms, that is where normally our short sleeve clothing ends and that is a measure to be able to fit clothes properly.

It is a measure often in the midpoint between the elbow and the shoulder and it is often used to see the nutritional status of a person.

Trade secrets _____. give a competitive edge give a competitive edge protect owners for 20 years protect owners for 20 years are secret company names are secret company names are products that generate profit

Answers

Trade secrets are confidential business information that give a competitive edge give a competitive edge.

What is a trade secret?

Note that trade secret protection is one that gives people or their owners the right to hinder or stop an information lawfully and it is one that is said to be within their control and this it cannot be disclosed, acquired or used by any other person without their consent.

Conclusively,  confidential business information are said to give an enterprise a competitive edge and it is said to be  unknown to others and thus it is said to be protected as a trade secret.

Learn more about Trade secrets  from

https://brainly.com/question/993315

pls help I will give brainliest​

Answers

It should be Yes.

This is because most labs use a cloud of some sort for situations like his. So as long as John saved his work to the cloud in use, he should be able to access it after logging in.

Hope this helps, brainliest is appreciated :)

Have a great day!

~Mitsuna

Dawn is trying to find out how much weight she can push across the room. She is really trying to find her __________. A. flexibility B. muscular endurance C. cardiovascular fitness D. muscular strength

Answers

The correct answer is d. muscular strength.

Explanation :

The maximal force a muscle can create when it contracts is referred to as muscular strength. When compared to someone with lower physical strength, someone with better muscular strength can lift heavier weights. Lifting progressively larger weights over time and eating a diet rich in protein-based foods can help a person's physical strength gradually grow.

I hope this helps. Please mark "Brainliest" if you can.

how can i promote netiquette??​

Answers

Answer: Neh - tuh - ket

Explanation:

The above answer is the phonetical pronunciation of the word Netiquette which is an amalgamation of the words, Net and Etiquette and as the term implies, refers to the behavior on the internet that is socially acceptable and good so that other people are not made to feel uncomfortable.

11. Which of these types of programa is bothersome but not necessarily dangerous?
A Worm
B. Adware
C. Virus
D. Trojan

Answers

Answer:

Virus

Explanation:

Your answer should be C. Virus

What is the purpose of technology?

Answers

Answer:  In general, when technology attempts to solve problems of matter, energy, space, or time, it is successful.

Explanation:  When it attempts to solve human problems of the mind, communication, ability, etc.

why do we buy new asset​

Answers

Your question is too vauge, what do you mean exactly in what terms because you aimed this to to computer and technology, In business terms asset is something that brings in money or brings a positive impact. A form of asset can be stocks, crypto, NFTs, real estate... If you own one of these you own an asset, its as simple as that.

What's the answer for 1 and 2

Answers

Answer:

volume??????? 1

select a ??????? 2

Explanation:

Element of python which is valid syntax patterns

Answers

Answer:

yes

Explanation:

TRUE or FALSE.

2.3 A website contains hyperlinks that link it to other documents and can be a word or sentence, icon,
picture or button.
2.4 SocialMention is a tool that monitors consumer trends on social media platforms by concentrating
on specific industries
2.5 The United States of America is responsible for the creation of Internet 1976.

Answers

Explanation:

TRUE or FALSE.

(T) 2.3 A website contains hyperlinks that link it to other documents and can be a word or sentence, icon,

picture or button.

(T) 2.4 SocialMention is a tool that monitors consumer trends on social media platforms by concentrating

on specific industries

(F) 2.5 The United States of America is responsible for the creation of Internet 1976.

Answer:

all are true except 2.5

Explanation:

this is because the internet was created by Vinh Cerf and Robert Khan

Assume that inputList is an ArrayList of Integer objects that contains the following values. [0, 10, 30, 40, 50, 70, 70, 70, 70] What value will be returned by the call binarySearch(inputList, 0, 8, 70)

Answers

Based on the inputList and the binarySearch, the value that will be returned by the call binarySearch above is 6.

What value will be returned?

With inputList =  [0, 10, 30, 40, 50, 70, 70, 70, 70], the first call would be:

1st call = binarySearch(inputList, 0, 8, 70)

mid = 8 + (0/2)

= 4

if (70 is less then 50)

A second call would yield:

2nd call = binarySearch(inputList, 5, 8, 70)

mid = 13/2

= 6

if (70 = (70))

Return is 6 is the above holds so output is 6.

Find out more on Binary searches at https://brainly.com/question/21475482.

Which one of the following is the most appropriate explanation of photoplethysmography?

Answers

Photoplethysmography a simple optical technique used to detect volumetric changes in blood in the peripheral circulation.

What is photoplethysmography?

Photoplethysmography is a technique used in signal analysis and application.

This instrument is a simple optical technique used to detect volumetric changes in blood in the peripheral circulation.

This technique provides valuable information related to our cardiovascular system

learn more on photoplethysmography here; https://brainly.com/question/25770607

4.
prevents many people from having access to technology and the Internet.
A. Digital literacy
B. Living in a wealthy nation
C. A good infrastructure
D. Income inequality

Answers

Income inequality and  Digital literacy prevents many people from having access to technology and the Internet.

How does digital system affect people's lives?

People do not have access to internet because of poor economic and social problems, such as fewer job opportunities, less competitive economies and others.

Other Factors such as digital literacy and low income levels, geographical restrictions, lack of zeal to use technology are known to have contributed to the digital division in the country.

Learn more about Income inequality from

https://brainly.com/question/24554155

Harry is undertaking a digital photography course as the college and wants to
complete and submit an assignment from home
His assignment will include documents and photographs that are currently stored
on his laptop, smartphone and digital camer
He will submit his work using the college VPN. His tutor will download and assess
the work
Draw a diagram to show the integration of systems that could be used in this
process.
The diagram should include
- devices and systems that can be used
devices to be connected and the connection type's used
the flow of data through the system
annotations indicating the information and data to be passed between the
systems/devices.
(10)

Answers

C. Unconventionally yes it will break down the system potentially causing a virus

I've got a question that is: What's a multimedia product ?

Answers

Explanation:

Multimedia Product means a product where software allows for interaction between the user and various media technologies such as the reproduction of sound and image.

hope this helps you.

Create a structure representing a student. The member variables should include student name, student ID, and four test grades for the student (an array of four grades as a member variable). Prompt the user to enter the name, ID, and the four positive test results. Perform error checking for negative values. Store all the data in a structure object. Calculate the average of the three highest grades, dropping the lowest grade. Display the student's name, ID number, four test grades, and the average of the three highest grades. Use a loop to repeat the questions for the next student. You can recycle the same struct object for the next student. Terminate the program when the user decides to stop.

Answers

Answer:

Output:

Name: Brainly

ID:0001

Write the 4 tests grades of the student separated by space :10 9 8 10

Brainly

0001

10 9 8 10

Average :9.66667

'1' to continue '0' to exit :

Explanation:

#include<iostream>

#include<string>

using namespace std;

//variables declaration

struct Student {

  string id; //string declaration ID

  string name; // string declaration name

  int grades[4]; //array of 4 because it is 4 grades

};

//definition of the function get information

void inputData(Student &s){

 

   

   cout << "Name:" ;

   getline(cin,s.name);

   cout << "ID:";

   cin >> s.id;

   cout << "Write the 4 tests grades of the student separated by space :";

   for (int i = 0; i<4; i++)

       cin >> s.grades[i];

}

//definition of the function of average

double inputAvg(Student s){

   double summation;

   int temporary;

   double average;

   for (int i = 0; i<4; i++){  

      for (int j = i; j<4; j++){

         if (s.grades[j] > s.grades[i]){

             temporary = s.grades[i];

             s.grades[i] = s.grades[j];

             s.grades[j] = temporary;

         }

      }

    }

    summation = 0;

    for (int i = 0; i<3; i++){

        summation = summation + s.grades[i];  

    }

    average = summation/3;

    return average;

}

void disp(Student *s){

   cout << s->name << endl;

   cout << s->id << endl;

   for (int i = 0; i<4; i++)

       cout << s->grades[i] << " ";

   cout << endl;

   cout << "Average :" << inputAvg(*s) << endl;

   

}

int main(){

  Student st;

  int ch;

  while(true){

      inputData(st);

      disp(&st);

      cout << " '1' to continue '0' to exit :";

      cin >> ch;

      if (ch == 0)

         break;      

  }

  return 0;

}

Lucas is taking an algebra class with many detailed steps. Which note-taking method would be best for this class?

charting
outlining
mapping
multiplying

Answers

Answer:

outlining

I really do hope this works !

Answer:

Hello!

The answer to your question is B. Outlining

Hope this helps!

The USGS and National Weather Service have many sensors collecting data about natural events.
That data can be used to create a weather map. Identify the parts of the Input-Process-Output model for each step.

_______ weather map displayed on a web page

_______ determination of color to be used on the map

_______ sensors collect temperature and precipitation data

Options: Output, input, process.​

Answers

Answer:

1. Output

2. Process

3. Input

Explanation:

Answer: Output, Process, Input

Explanation: got it right on edgen

What are steps for properly cleaning a PC or Mac laptop fan? Check all boxes that apply.

For a PC laptop, remove the CPU case, locate the fans, and then use compressed air to blow dirt through the internal slits.

For a Mac laptop, visit an Apple Store or take a look at your Apple Care Protection Plan, if applicable.

For PC and Mac laptops, use compressed air on all ports and drives.

For PC and Mac laptops, consider getting an experienced technician to help you.

Answers

Answer: Its   B. For a Mac laptop, visit an Apple Store or take a look at your Apple Care Protection Plan, if applicable.   And  D.  For PC and Mac laptops, consider getting an experienced technician to help you.

Explanation: You have to read to understand and learn.

What is an Internet Service Provider? Describe at least two types of ISP. (I NEED THIS ASAP LIKE NOW)

Answers

Answer:

A company that provides service to its subscribers to the internet | WiFi, cellular data

Explanation:

WiFi provides service to its subscribers to the internet; the same applies to cellular data.

To locate a value in an ordered array of 100 items, binary search must examine at most ________ values.

Answers

To locate a value in an ordered array of 100 items, using binary search, requires examining at most _________ values.

7

Other Questions
Why did people value silphium? (02.01)Solve 4(x + 1) = 4x + 4. (1 point)Select one:a. No solutionb. 0c. All real numbersd. 1 All changes saveda 1. What advice do you have for a teenager who is looking to create healthy emotional habits in their life? GradeAn aqueous solution of blue copper(II) ions can react with chloride ions to form a yellow7-9copper compound. The ionic equation for this reaction is: Cu2+ + 4C [CuCl]-.1 The forward reaction is endothermic. What two things can you say about the enthalpy change forthe reverse reaction? pleas y'all help me with this -3,-2,0,3x16,11,1,-14is this a fuctionyes or nois this porpotnial yes or no.how do you know Why is graphite soft What was used for transportation between the cities of Harappa and Mohenjo-Daro?A Nile RiverB Ganges RiverC Indus RiverD Indian Ocean What are the 3 cooking methodsWet, Direct, CombinationMoist, Dry, CombinationMoist, Direct, CombinationMoist, Dry, Convection Based on the number line about how many ounces are there in 8 pounds Ed training for a race. He ran 12.56 miles on one day, 12.98 miles the second day, and 13.04 miles on the third day.what is his combined distance for the first three days A car is accelerating at a rate of 35 m/s2 and has a resulting velocity increase from 17 m/s to 26 m/s. How long did it take to change its velocity? Use the drop-down menus to complete the sentences.The legislative branch is made up ofwhich has two houses.Thehas 435 members, whose numbers are based on the population in each state.There are one hundred members of the-two from each state.Members of the House of Representatives serveterms.Members of the Senate serveterms. Which ones are equivalent?40/1000 and 40%6/5 and 120%50/33 and 117%1/8 and 12.5%1/3 and 30% What is stopping the Moon from flying off in a straight line away from the Earth? Which of these best summarizes the difference between the government of England and the government of France by the end of the 17th century? What is 3x+4=10 solve for x Solve this Proportion. If necessary round to the nearest hundredth: 5/a = 30/54 -3.2 times -5.6 times 4With an explanation please I really need help!!!! a. 7b. 3.5c. 5d. 10