C Answers

Questions answered by 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

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.
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
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.
Write a C program that bitwise displays the single-precision-floating-point value 3.14 to the screen.
) Write a function that counts the number of bounces a ball makes before it stops and rests on the
ground. Assume that with each bounce, it reaches up to 0.9 of its previous bounce. The ball is
considered at rest when it is at height less than 0.4 cm. Let the user input the initial height from the
) Differentiate extern and register storage classes (at least on two parameters) taking suitable
example.
) Write function definition (recursive as well as non-recursive) to generate the following series up to
n numbers. The first two numbers are known.
1 2 6 16 44 120….
LATEST TUTORIALS
APPROVED BY CLIENTS