Questions: 9 913

Answers by our Experts: 9 913

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Create a program that reads trom the console two integer numbers (int) and prints now many numbers between them exists, such that remainder of their division by 5 is O. E

A company hire network administrators in the following cases:


• If the candidate is Cisco certified.

• If the candidate’s highest degree is networks, age is below 30.

• If the candidate has 3 years of experience



In all other cases the candidate is not hired. If the cisco certificate status, highest degree and experience are the inputs, write a program to determine whether the candidate will get hired or not.


Provide a program that takes the digits of your roll number from the user, modify each digit by adding 4 in it

then sort the modified digits using Selection sort.


Provide a program showing the implementation of Hashtable. The size of the hashtable should be 10.

Add the following numbers

11, 62, 46, 38, 29 66

Search and delete 11

Remove the collision


You will create a program that displays amount of a cable bill. The Amount is based on the type of customer, as shown in the figure. For a residential customer, the user will need to enter the number of premium channels only. For a business customer, the user will need to enter the number of connections and the number of premium channels. Also enter appropraite comments and any additional instructions in your c++ program. Test the program appropriately before submission. 


For resedential customers:

Processing fee: $4.50

Basic service fee: $30

Premium channels: $5 per channel


For business customers:

Processing fee: $16.50

Basic service fee: $80 for the first 5 connections, $4 for each additional connection

Premium channels: $50 per channel for any number of connections




Write a program that deletes duplicate elements from a stack.







Requirements:





No global decelerations





Test run the code in main

how to remove unwanted space out of your answer?

i did a coding just like the one above but they are saying i have unwanted space in my output.


Mr Caleb the Hoc of 200 level computer science in Caleb university bought the following goods in one of the warehouse in Lagos where prices of these goods or products are displayed exclusive



*One bag of rice @ 30,000.00 naira



*A 25 litre of groundnut oil @15,000 naira each



*50kg of beef @5,000 naira each



a)Write a C++ program to find the total amount paid by Caleb HOC if VAT was charged @17.5%



b)What is the total Expenditure of HOC is transportation cost was put @4,500.00 naria

Write a program that deletes duplicate elements from a queue.



Requirements:


No global decelerations


Test run the code in main

(a) 

Describe an algorithm that sorts an input array A[1 · · · n] by calling a subroutine

SQRTSORT(k), which sorts the subarray A[k + 1 · · · k +√n] in place, given an arbitrary integer k between 0 and n −√n as input. (To simplify the problem, assume that √n is an integer.) Your algorithm is only allowed to inspect or modify the input array by calling SQRTSORT; in particular, your algorithm must not directly compare, move or copy array elements.

How many times does your algorithm call SQRTSORT in the worst case? Give pseudocode. You cannot use anything other than calling the SQRTSORT routine and maybe some loops. But write a few sentences justifying your approach.


(b)

Prove that your algorithm from part (a) is optimal up to constant factors. In

other words, if f(n) is the number of times your algorithm calls SQRTSORT, prove that no

algorithm can sort using o(f(n)) calls to SQRTSORT. We are assuming that

these algorithms cannot do anything other than calling SQRTSORT repeatedly.




LATEST TUTORIALS
APPROVED BY CLIENTS