Monday, March 8, 2010

Write a C program to find the greatest common divisor (GCD) of the two given positive integers.

Solution :- http://cprogramskills.blogspot.com/2010/03/write-c-program-to-find-greatest-common.html

Write a C program that prints a given positive integer in reverse order and also sum of the individual digits involved in the given integer.

Solution : http://cprogramskills.blogspot.com/2010/03/write-c-program-that-prints-given.html

Write a C program to find the commission on a salesman's total sales

The commission on a salesman’s total sales is as follows:


a) If sales <100, then there is no commission.

b) If 100>=sales <=500, then commission = 10% of sales.

c) If sales > 500, then commission = 100+8% of sales above 500.


Solution:  http://cprogramskills.blogspot.com/2010/03/write-c-program-to-find-commission-on.html