Search This Blog

Saturday, June 29, 2024

Task



task1: until single digit occurred sum of all digits in the given number


task2: non reputed digits count in the given number


task3: difference between sum of even index values and sum of odd index values.


task4: non occurrence of digits in the given number


taks5: reputed occurrence of digits in the given number


task6: reputed occurrence of digits count  in the given number


task6: find the factorial of the given number


task7: find the nth prime number


task8: find the nth fibnocci number.


taks9: find the factorial of the each digit in the given number


SINGLE LINKED LIST BASIC CODE

 #include <stdio.h> #include <stdlib.h> struct Node {     int data;     struct Node *next; }; void insert(struct Node **head, in...