List of Programs for practise of R Programming
- Write a program to calculate the sum of digits of a given number.
- Create a function to compute the factorial of a number using both iterative and recursive methods.
- Implement a program to convert a number from decimal to binary, octal, and hexadecimal.
- Write a function to count the number of vowels and consonants in a given string.
- Create a program that reverses a given string without using built-in functions.
- Write a program to merge two sorted lists into a single sorted list.
- Create a function to find the largest and smallest numbers in a list.
- Develop a program to count the frequency of each character in a string.
- Write a program to convert a binary number (as a string) to its decimal equivalent.
- Create a function to convert temperatures between Celsius, Fahrenheit, and Kelvin.
- Implement a program to find the sum of even and odd numbers from a list.
- Develop a program to sort a list of tuples based on the second element in each tuple.
- Create a program to generate a random password of specified length with letters and digits.
- Write a function to remove duplicate elements from a list while preserving the order.
- Implement a program to find common elements between two lists.
- Create a function to find all prime factors of a given number.
- Develop a program to find the Greatest Common Divisor (GCD) of two numbers using the Euclidean algorithm.
- Implement a program to find the n_th largest number in a list.
- Write a function to remove all whitespace characters from a given string.
- Implement a program to transpose a given matrix.
Comments
Post a Comment