[algogeeks] Any available C code for round()

2007-03-07 Thread sofin
round() in ansi considers One digital after the decimal point. Does there exist any available code for 10 or more digital after the decimal point? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Algorithm

[algogeeks] How to list all combination of C(n,k)

2007-01-31 Thread sofin
Hi there, How to write a c program to list all combinations of C(n,k), where 1 = k =n and n is a variable. For example, n=3, C(3,k). k=1, {1},{2},{3} k=2, {1,2}, {1,3}, {2,3} k=3, {1,2,3} --~--~-~--~~~---~--~~ You received this message because you are subscribed