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
evablogger [386]
3 years ago
8

If you know the unit prices of two different brands of an item you are better able to

Computers and Technology
1 answer:
vitfil [10]3 years ago
4 0

Answer:

TO UNDERSTAND TO ITS VALUES AND ITS  FEATURES

Explanation:

You might be interested in
write a 2d array c program that can capture marks of 15 students and display the maximum mark, the sum and average​
bekas [8.4K]

Answer:

#include <stdio.h>  

int MaxMark(int* arr, int size) {

   int maxMark = 0;

   if (size > 0) {

       maxMark = arr[0];

   }

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

       if (arr[i] > maxMark) {

           maxMark = arr[i];

       }

   }

   return maxMark;

}

int SumMarks(int* arr, int size) {

   int sum = 0;

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

       sum += arr[i];

   }

   return sum;

}

float AvgMark(int* arr, int size) {

   int sum = SumMarks(arr, size);

   return (float)sum / size;

}

int main()

{

   int student0[] = { 7, 5, 6, 9 };

   int student1[] = { 3, 7, 7 };

   int student2[] = { 2, 8, 6, 1, 6 };

   int* marks[] = { student0, student1, student2 };

   int nrMarks[] = { 4, 3, 5 };

   int nrStudents = sizeof(marks) / sizeof(marks[0]);

   for (int student = 0; student < nrStudents; student++) {              

       printf("Student %d: max=%d, sum=%d, avg=%.1f\n",  

           student,

           MaxMark(marks[student], nrMarks[student]),

           SumMarks(marks[student], nrMarks[student]),

           AvgMark(marks[student], nrMarks[student]));

   }

   return 0;

}

Explanation:

Here is an example using a jagged array. Extend it to 15 students yourself. One weak spot is counting the number of marks, you have to keep it in sync with the array size. This is always a problem in C and would better be solved with a more dynamic data structure.

If you need the marks to be float, you can change the types.

3 0
3 years ago
What is the difference between operating systems and application software?
Oliga [24]
The operating system is what allows the user to interact with the computer's hardware. It has basic services such as accepting commands from the user, managing, loading, and executing programs, and managing hardware resources. Some examples of operating systems are Windows, Linux, Mac OSX, and IOS.

Application software are pieces of software that perform specific tasks such as word processors.
5 0
3 years ago
What is probably the most revolutionary innovation since the printing press?
BARSIC [14]

Answer:

The Internet

Explanation:

Why? The internet has done twice if not thrice what the printing press has done. The printing press allowed for dissemination of information and knowledge to the population through its mechanical movable printing capability and speed of book publishing. However its reach was highly limited by the physical attributes of the machines and having to transfer books and papers in spreading them to certain destinations. This limitation has been eliminated by the internet as one is able to receive a book written today in seconds and not physically but through electronic means. In other words, information need not be transferred physically, also accessbility and cost of getting information has been highly improved with the internet.

7 0
3 years ago
Write and execute a query that will determine the average number of days that automobiles are rented. Show your result broken ou
denpristay [2]

Using the knowledge in computational language in SQL it is possible to write a code that query that will determine the average number of days that automobiles are rented

<h3>Writting in SQL:</h3>

<em>select Customer.CID,CName,Age,Resid_City,BirthPlace,</em>

<em>Rentcost.Make,Cost,Rentals.Rtn,Date_Out,Pickup,Date_returned,Return_city</em>

<em>from Customer,Rentcost,Rentals where</em>

<em>Customer.CID=Rentals.CID and Rentcost.Make=Rentals.Make</em>

<em>order by Customer.CID, Rentcost.Make asc;</em>

<em />

<em>select Customer.CID,CName from Customer,Rentals where Customer.CID=Rentals.CID</em>

<em>and Pickup='Cary';</em>

<em />

<em>select distinct(CName),age from Customer,Rentals where Customer.CID=Rentals.CID</em>

<em>and Return_city='Erie' order by CName asc;</em>

<em />

<em>select Customer.CID,CName from Customer,Rentals where Customer.CID=Rentals.CID</em>

<em>and Return_city is null;</em>

<em />

<em>select CName from Customer,Rentals where Customer.CID=Rentals.CID</em>

<em>and Resid_City=Pickup;</em>

See more about SQL at brainly.com/question/13068613

#SPJ1

7 0
2 years ago
Edith’s warehouse (adjusted basis of $450,000) is destroyed by a hurricane in October 2018. Edith, a calendar year taxpayer, rec
deff fn [24]

Answer:

Check the explanation

Explanation:

the step by step solution to the question is;

a. the answer to question A

The Realizable gain=insurance proceeds less adjusted basis = 525,000 - 450,000 = $ 75,000

The Realizable gain will be zero(0) due to the transaction being an involuntary conversion, Mr. E is eligible to section 1033 benefit that the gain of 75,000 is postponed.

The Basis of replacement property = cost of warehouse less postponed gain = 550,000 - 75,000 = $ 475,000

b.the answer to question B

The Realizable gain = insurance proceeds less adjusted basis = 525,000 - 450,000 = $ 75,000

The Realizable gain = divacancy in reinvestment less insurance proceeds less reinvestment = 525,000 - 500,000 = $ 25,000

The Basis of replacement property = cost of warehouse less postponed gain = 500,000 - 50,000 = $ 450,000

c.the answer to question C

The Realizable gain = insurance proceeds less adjusted basis = 525,000 - 450,000 = $ 75,000

The Recognized gain = 75,000

8 0
3 years ago
Other questions:
  • Defination of computer Software​
    7·2 answers
  • As the driver it is not your responsibility that you are focused on the driving task with any possible distractions minimized. T
    9·2 answers
  • Finding your style in photography is about ___
    10·2 answers
  • If she presses the left arrow , what will happened
    15·1 answer
  • True or False <br><br> The term virus and malware may be used interchangeably.
    13·1 answer
  • You want to make the background of a Web page blue, click _____.
    13·2 answers
  • Default tab stops are set in word every _______ inch.<br> a. ¼<br> b. ¾<br> c. ½<br> d. 1
    15·1 answer
  • How many spaces should you use for an indent?
    10·1 answer
  • Which type of CPU instruction performs arithmetic calculations and stores the results in memory?
    14·2 answers
  • You are creating a program that can add up the amount of money the user spent that day. Right down to the penny! What kind of va
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!