Questions: 856

Answers by our Experts: 763

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

(while loop structure)

Write a short program that asks for your height in integer inches and then converts your height to feet and inches. Use a const symbolic constant to represent the conversion factor (Inches per ft). The only way to exit the program would be for height in inches be 999.



A customer pays a monthly fee of $37.50 for the telephone service and $3.50 per minute for long distance calls. Input the number of minutes for long distance calls. Calculate the total bill. Print the results and ask again. The only way to exit the program would be for number of minutes is -1. (while loop structure)


 Find the Optimal Binary Search Tree for 10, 20, 30, 40 and their frequency is given by 1156 .(Neatly show all the steps and also write the algorithm)(Analyze the running time of the given problem). 


Find a longest common subsequence between following strings:

String1= {1, 2, 3, 4, 5, 6, 7, 8}

String2=<1,2,0,1,1,5,6,5>

(Neatly show all the steps and also write the algorithm)(Analyze the running time of the given problem). 


Items ={a, b, c ,d, e}

Weight ={4, 3, 2, 5, 6 }

Price =<15565 and add 5, 7, 3, 2, 4 to the respective digit>

Size of the bag =13

Select the items from the store such that you earn the maximum profit.Knapsack technique to solve it).(Neatly show all the steps and also write the algorithm)(Apply the bottom-up approach to find the optimal solution)(Analyze the running time of the given problem) 


JamEx Limited requires a program to calculate and print the commission received by a

salesperson. The program should process an undetermined number of salespersons and

appropriately terminate by a predefined input. The commission rate is based on two factors,

the amount of sales and the class to which a salesperson belongs. The input will be the

salesperson number, sales amount and class. The commission rate will be based on the

following criteria:

Class=1

If sales is equal to or less than $1000, the rate is 6 percent.

If sales is greater than $1000 but less than $2000, the rate is 7 percent.

If the sales is $2000 or greater, the rate is 10 percent.

Class=2

If the sales is less than $1000, the rate is 4 percent.

If the sales is $1000 or greater, the rate is 6 percent.

Class=3

The rate is 4.5 percent for all sales amount

Class=any other value

Output an appropriate error message.


Need answer in pseudocode


Suppose you are asked to tell the real time applications of theory of computation in the field of computing then how you answer this question by highlighting that which component/feature of theory of computation is applied in that application. Support your answer with suitable examples


Create a program that will prompt the user to enter a number in the range 1-100 to find my favourite number. If the number is less than favourite number, print “Too low...guess again: ”. If the number is greater than favourite number, print “Too high...guess again: ”. Ask again and exit until the number entered is the correct favourite number. in C++ program (while loop)


 Find the Optimal Binary Search Tree for 10, 20, 30, 40 and their frequency is given by the first four unique digits of your registration number in sequence (Example: if Reg. No. = 11912348 then frequency =1923).(Neatly show all the steps and also write the algorithm)(Analyze the running time of the given problem). 


Find a longest common subsequence between following strings:

String1= {1, 2, 3, 4, 5, 6, 7, 8}

String2=<Your Registration Number>

(Neatly show all the steps and also write the algorithm)(Analyze the running time of the given problem). 


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS