Questions: 1 978

Answers by our Experts: 1 850

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

WAP to calculate tax given the following condition: If income is less than 150,000, then no tax If income in the range of 150,001-300,000, then charge 10% tax If income is in the range of 300,001-500,000, then charge tax of 20% If income is above 500,001, then charge tax of 30%
Write a program to 4 X 4 matrix. Input the elements in the matrix and rotate the elements by one position of each row. A sample input and output is shown below:
I/P
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16

O/P:
2 3 4 1
6 7 8 5
10 11 12 9
14 15 16 13
What is meant by memory leak and dangling pointer? Explain the concept with the help of example.
Enter two strings and check whether one string is the reverse of other or not. For example, consider the strings “vikas” and “sakiv”, you can notice that one string is the reverse of other.
Allocate the memory at runtime to store 10 integer numbers and ask values from the user. Now, create another array of same size and fill the elements based on the processing of elements in the first array as follows:
• If the number at any location is prime, then store ‘P’ at the same location in second array
• If the number is not prime but if it is even, then store ‘E’
• In case above conditions are not true, then store ‘N’
Your group visits a shop to get your assignment typed and printed. Draw a flowchart to calculate the bill of a job work based on the following rates.
• Rate of typing is Rs. 3/- per page
• Rate of Printing is Rs. 5/- per page
User should enter the number of pages in the assignment and no. of print out copies, your
group wants
Write an algorithm to input a number. Find its square if the entered number is multiple of 10. If entered number if not a multiple of 10, then find its cube
The software takes time as input in minutes. This time is to be converted into hours and for each complete hour an amount of Rs. 50 is to be reimbursed.
For example, for a person who waited for 2 hours 6 minutes, the amount to be reimbursed is Rs. 100, and also for 2 hours 40 minutes, Rs. 100 is to be returned
HINT: calculate the number of hours and then multiply the number of hours with 50.
Write a program to calculate movie ticket charges. The cinema is offering two kinds of seats, prime and classic. Prime: For the seats count less than or equal to 5, each ticket is to be charged at Rs. 150. If seats count more than 5 but less than 10, first 5 tickets will be charged at Rs. 150 and rest at 130 each, If the number of seats is 10 or more each ticket will be chargeable at Rs. 110. Each classic seat will be chargeable at Rs. 100
In a company, the customers had to wait in rows due to the technical issues in the company’s software. Now the company has decided that it will reimburse some amount from their paid amount to the customers as compensation since they had to wait for long.
 The software takes time as input in minutes. This time is to be converted into hours and for each complete hour an amount of Rs. 50 is to be reimbursed.
For example, for a person who waited for 2 hours 6 minutes, the amount to be reimbursed is Rs. 100, and also for 2 hours 40 minutes, Rs. 100 is to be returned
HINT: calculate the number of hours and then multiply the number of hours with 50.
LATEST TUTORIALS
APPROVED BY CLIENTS