[solved] – Question 8307
an algorithm to find the average of the numbers in a linked list of numbers
Expert Answer
[solved] – Question 83072
Design a class that has an array of floating-point numbers. The constructor should accept an integer argument and dynamically allocate the array to hold that many numbers. The private data members of the class should include the integer argument in a variable to hold the size of the array and a pointer to float type to hold the address of the first element in the array .
The destructor should free the memory held by the array . In addition, there should be member functions to perform the following operations :
•Store a number in any element of the array
• Retrieve a number from any element of the array
• Return the highest value stored in the array
• Return the lowest value stored in the array
• Return the average of all the numbers stored in the array
Demonstrate the Class in a Program
SAMPLE RUN : Interactive Session:
Creating a Float Class Array Object with a size of 5.Using
setI function with calls (0,1.4),(1,2.3),(2,3.13),(3,6.66),(4,7.711) to load array.
Expert Answer
[solved] – Question 8310
Write VB6 program that takes n numbers as input.
It outputs the frequency of positive and negative numbers.
A sample input and output are given as follows:
Input n=9 the 9 numbers are as follows: 40 -1 59 -37 283 -91 -103 341 523
Output: Frequency of positive numbers:5
Frequency of negative numbers:4
Expert Answer
[solved] – Question 83112
I have an assignment where i have to use the malloc function to allocate memory for 2 input strings, problem is whenever i try to print my scanned strings they have unwanted random characters at their end (for example i have 2 string inputs each in new line, being abc and def, when i want to print them it comes out as abc²²²² and def²²²²
Expert Answer
[solved] – Question 83131
Write a program that repeatedly asks the user to enter two money amounts expressed in
old-style British currency: pounds, shillings, and pence. (See Exercises 10 and 12 in
Chapter 2, “C++ Programming Basics.”) The program should then add the two amounts
and display the answer, again in pounds, shillings, and pence. Use a do loop that asks the
user whether the program should be terminated. Typical interaction might be
Enter first amount: £5.10.6
Enter second amount: £3.2.6
Total is £8.13.0
Do you wish to continue (y/n)?
To add the two amounts, you’ll need to carry 1 shilling when the pence value is greater
than 11, and carry 1 pound when there are more than 19 shillings.
Expert Answer
[solved] – Question 83153
Review of Article Where Physical Security Failed
Search the Internet for an article where physical security failed
Propose a possible change in that organization’s physical security that could have prevented the breach/failure for that scenario
Submit at least 2 but no more than 4 pages double spaced
No photos or graphs
Reference all sources used
You may submit a second review if you change your mind after submitting the first review, but only the last attempt will be graded
Expert Answer
[solved] – Question 83163
Adam regularly challenges one of his teachers to a pool competition. The winner of their matches is the person who wins the most individual games of pool. Adam wishes to write a computer program to calculate the total number of times each player wins a game and display a message congratulating the winner of the overall match.
a) Adam wants the program to:
* repeatedly ask the user to input the winner of each game
* stop asking for input when the character “X” is entered
* add up the number of wins for each player as the winner of each game is inputted
* display a message congratulating the player who won the most games or display a message saying that the match was tied.
Write a program below that meets Adam’s requirements.
Expert Answer
[solved] – Question 83165
which of the following is the open source operating system
a. Microsoft windows
b. Ubuntu
c. MAC OS x
d. iOs
e. Android
Expert Answer
[solved] – Question 83167
What is the difference between single tasking OS and multi tasking OS?
Expert Answer
[solved] – Question 8323
algorithm to copy contents of stack using a while loop
Expert Answer

