Questions: 1 680

Answers by our Experts: 1 680

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

Prompt user to input distance in Kilometers and display it in meters.


Program the following. Implement the following equation 3x4 sin(180x) + 4x3 cos(90x) + x2 sin(tan(45)) + 7x + 9cos(90x2 ) where x may be user defined value.


Milkman serves milk in packaged bottles of varied sizes. The possible size of the bottles are {1, 5, 7 and 10} litres. He wants to supply desired quantity using as less bottles as possible irrespective of the size. Your objective is to help him find the minimum number of bottles required to supply the given demand of milk.

Input Format

First line contains number of test cases N Next N lines, each contain a positive integer Li which corresponds to the demand of milk.

Constraints

1 <= N <= 10000 1 <= Li <= N

Output Format

For each input Li, print the minimum number of bottles required to fulfill the demand

Sample Input 0

2
17 65
Sample Output 0

2 7

Write a program to perform transpose for a given sparse matrix. ( Row major order) 


Write an algorithm for the network
administrator to help him find the number
of data characters that do not change
position even after the data stream is
reversed.

Write a program to represent a sparse matrix in three tuple format using linked list and write addition function to perform addition.


Create a list which contains float elements and then perform insert, delete, display, search and exit operations


Create a list which contains integer elements and then perform operations

1.insert

2.delete

3.display

4.search

6. display the multiple of two

7. calculate the sum of odd elements

8. display the elements in the reverse order

9.exit
Create a list which contains character and then perform insert, delete, display, search and exit operations.

Write a menu driven program to perform the following operations in a double linked list by

using suitable user defined functions for each case.


a) Traverse the list forward

b) Traverse the list backward

c) Check if the list is empty

d) Insert a node at the certain position (at beginning/end/any position)

e) Delete a node at the certain position (at beginning/end/any position)

f) Delete a node for the given key

g) Count the total number of nodes

h) Search for an element in the linked list

Verify & validate each function from main method.


LATEST TUTORIALS
APPROVED BY CLIENTS