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
AURORKA [14]
3 years ago
12

1) Input - to be done in main() Prompt the user for and input the number of units. Prompt the user for and input the amount for

student fees. 2) Calculate the total (do not consider parking) Unit cost should be given as a
Computers and Technology
1 answer:
denis-greek [22]3 years ago
8 0

Answer:

#include <iostream>

using namespace <std>;

double calcTuition(double units, double studentFees);

void output(double total);

int main{

   double unitCost, schoolFees, total;

   cin >>"Enter unit cost: " >> unitCost;

   cin >>"Enter school fees: " >> schoolFees;

   total = calcTuition( unitCost, schoolFees );

   output( total );

}

double calcTuition(double units, double studentFees){

   return unit * studentFees;

}

void output(double total){

   cout << " Total: " << total;

}

Explanation:

The C++ console source code prints out the total cost of a student's tuition. The student is prompted to input the units and the school fees and the total is displayed excluding parking fees.

You might be interested in
Help? brainliest and point
stiks02 [169]

Answer: second one

Explanation:

sorry lol

7 0
3 years ago
A computer with 5 stage pipeline like the one descrive in class delas with conditional branches by stalling for the next three c
trasher [3.6K]

Answer:

It hurts 80%

Explanation:

7 0
3 years ago
You just purchased a single license for the latest Microsoft Office Suite. Your friend has asked to borrow the CD, so he can ins
TiliK225 [7]

Answer:

B

Explanation:

No, this would be piracy. If he would want to install it, he would have to buy it himself.

Hope this helps :D

6 0
3 years ago
Oliver’s night job at the university computing center is to change the tapes used for overnight data backups on the server. Whil
densk [106]

Answer:

Explanation:

Ollie’s thesis may not be backed up as reliably as he might wish. A backup program may pass over a file that is currently open for writing, as the state of the data in such a file may be indeterminate.

4 0
3 years ago
Write a function that takes, as an argument, a list, identified by the variable aList. If the list only contains elements contai
Genrish500 [490]

Answer:

The function is as follows:

def concList(aList):

   retList = ""

   for i in aList:

       if(str(i).isdigit()):

           retList+=str(i)

       else:

           retList = "Not digits"

           break;

   return retList

Explanation:

This defines the function

def concList(aList):

This initializes the return string to an empty string

   retList = ""

This iterates through aList

   for i in aList:

This converts each element of the list to an empty list and checks if the string is digit

       if(str(i).isdigit()):

If yes, the element is concatenated

           retList+=str(i)

If otherwise

       else:

The return string is set to "No digits"

           retList = "Not digits"

And the loop is exited

           break;

This returns the return string

   return retList

5 0
4 years ago
Other questions:
  • ____ is a programming language used to view and manipulate data that is stored in a database.
    6·1 answer
  • You’re responding to a troubleshooting ticket about a laser printer in HR that isn’t working. According to reports, the printer
    7·1 answer
  • Assume that you have an array of integers named arr. Which of these code segments print the same results?
    15·1 answer
  • Call 334-399-4201 to annoyed my mom
    13·1 answer
  • A/an ________is a device used to protect computers against surges and spikes in power.
    14·1 answer
  • Which kind of system software tells the computer how to communicate with peripherals, such as a prero
    6·2 answers
  • What is a template class in c++?
    13·1 answer
  • What are the OSHA construction standards also called ?
    10·1 answer
  • Who first demonstrated the computer mouse ?
    11·1 answer
  • 2) List three (3) negative impact of Technology on society
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!