Cash-back offer from May 2nd to 7th, 2024: Get a flat 10% cash-back credited to your account for a minimum transaction of $50.Post Your Questions Today!

Question DetailsNormal
$ 12.00

COSC 2325.S01 Program Eight | Complete Solution

Question posted by
Online Tutor Profile
request

COSC 2325.S01 Program Eight


Problem:
Starting with the following C++ program (in I:\BSLATER\COSC 2325\LAB8):
#include <iostream>
using namespace std;
extern “C” long Average (long, long []);
void main ()
{
long Array1 [10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
long Array2 [11] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11};
long Array3 [12] = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24};
cout << "Average of Array1 is " << Average (10, Array1) << endl;
cout << "Average of Array2 is " << Average (11, Array2) << endl;
cout << "Average of Array3 is " << Average (11, Array3) << endl;
}
Write in assembly language (in a separate file named Lab8.asm) the function
Average. The first parameter is the number of elements in an array, the second is
the address of the array. The function will determine the average of the values in
the array and return the average rounded to the nearest whole number (if the
fractional part of the result is equal to or greater than .5, the result is rounded to
the next higher number.


Turn In:
1) A printed listing of the .asm file.
2) A copy of the .asm file you created. A copy of the file should be emailed to the
instructor with the subject line “COSC 2325.S01 – Lab 8”.
 

Available Answer
$ 12.00

[Solved] COSC 2325.S01 Program Eight | Complete Solution

  • This solution is not purchased yet.
  • Submitted On 04 Dec, 2017 10:11:58
Answer posted by
Online Tutor Profile
solution
This Solution is rated A+ previously,if yo...
Buy now to view the complete solution
Other Similar Questions
User Profile
AceTu...

COSC 2325.S01 Program Eight | Complete Solution

This Solution is rated A+ previously,if you have any questions regarding this tutorial than you can contact me. Check your E-mail inbox to download your solution document....

The benefits of buying study notes from CourseMerits

homeworkhelptime
Assurance Of Timely Delivery
We value your patience, and to ensure you always receive your homework help within the promised time, our dedicated team of tutors begins their work as soon as the request arrives.
tutoring
Best Price In The Market
All the services that are available on our page cost only a nominal amount of money. In fact, the prices are lower than the industry standards. You can always expect value for money from us.
tutorsupport
Uninterrupted 24/7 Support
Our customer support wing remains online 24x7 to provide you seamless assistance. Also, when you post a query or a request here, you can expect an immediate response from our side.
closebutton

$ 629.35