Questions: 652

Answers by our Experts: 652

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

1. Design an algorithm and the corresponding flowchart for finding the sum of


the numbers 2, 4, 6, 8, …, n



2. Using flowcharts, write an algorithm to read 100 numbers and then display the


sum.


3. Write an algorithm to read two numbers then display the largest.


4. Write an algorithm to read two numbers then display the smallest


5. Write an algorithm to read three numbers then display the largest.


6. Write an algorithm to read 100 numbers then display the largest.

Design an algorithm and the corresponding flowchart for finding the sum of




the numbers 2, 4, 6, 8, …, n

A new feature is to be implemented in Kindle. FEATURE : The user inputs the no. of days in which he would like to complete a particular book and the Kindle will create a reading plan for the user.



Write an algorithm which will output the reading plan to the user. The reading plan should be created keeping in mind that the user would like to begin and end reading a particular “chapter” of the book on the same day.


Write an algorithm to check whether a given number is an Armstrong number. An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. For example, 371 is an Armstrong number since 33 +73 + 13 = 371


Write an algorithm which multiplies two numbers using the minimum number of additions.


You are given two array of “n” length. First array contains the starting time of meetings. Second array contains the ending time of those meetings. Write an algorithm that detects meeting conflicts.


. An ABC company’s plans to give a 6% year-end bonus to each of its employees



earning Rs 6,000 or more per month, and a fixed Rs. 250 bonus to the remaining



employees. Write an algorithm for calculating the bonus for an employee.

Design a program that will ask the user to enter the amount of a purchase. The program should then compute the federal and provincial sales tax. Assume the federal sales tax is 10 percent and the provincial sales tax is 5 percent. The program should display the amount of the purchase, the federal sales tax, the provincial sales tax, the total sales tax, and the total of the sale (which is the sum of the amount of purchase plus the total sales tax).


Write the pseudocode for the following scenario which calculates the final amount a customer at a restaurant will pay at the till. The amount of the bill will be input first. Thereafter VAT (15%) will be calculated and added to the bill as well as a tip for the waiter (10% of the bill – on top of the added VAT). The final receipt of the bill must be printed out for the customer.


Using flowchart and pseudo code write a program that accepts four numbers and computes the sum, average and product of numbers

LATEST TUTORIALS
APPROVED BY CLIENTS