Q.Write a C program for knapsack algorithm using greedy approach Source Code:-> #include<stdio.h> #include...
Read More
Home
c programming
Showing posts with label c programming. Show all posts
Showing posts with label c programming. Show all posts
C program for finding factorial of number
This program is about finding factorial of number. Given the number, this program will use logic of multiplying number with previou...
Read More
How to print 1 to 100 without using (for/while/do-while) loop in C language ?
Answer: Let us write C program with recursive function as we can’t use FOR/WHILE/DO-WHILE loops, #include<stdio.h> #inclu...
Read More
Subscribe to:
Posts
(
Atom
)