Skip to content

Latest commit

 

History

History
80 lines (63 loc) · 3.24 KB

README.md

File metadata and controls

80 lines (63 loc) · 3.24 KB

lab logo  

tasks.c

Status GitHub Issues GitHub Pull Requests License


A Menu driven C program that covers code of various popular problems.

Contributing to this repo will count against one of the PRs for HacktoberFest2020 only if submitted between 1st October and 31st October.

Please refer to CONTRIBUTING.md for the same.

The following problems need solutions as on date 28th Sept, 2020

  • Count distinct elements of an array
  • Program to convert string from lower case to upper case
  • Sort a set of strings in ascending alphabetical order
  • Find length of a string without using strlen()
  • String concatenation without using strcat
  • Reverse a String using recursion
  • Program to sort array in ascending order
  • Find largest element of given array
  • Program to find sum of array elements
  • Program to find number of elements in an array
  • Program to find the largest of three numbers using Pointers
  • Program to count vowels and consonants in a String using pointer
  • Program to print String using Pointer
  • Program to swap two numbers using pointers
  • Program to create initialize and access a pointer variable
  • Find the value of nPr for given value of n & r
  • Find the value of nCr for given value of n & r
  • Program to multiply two floating numbers
  • Program to find out Quotient and Remainder
  • Program to find average of two numbers
  • Program to Add Two Matrices Using Multi-dimensional Arrays
  • Program to Multiply Two Matrices Using Multi-dimensional Arrays
  • Program Swap Numbers in Cyclic Order Using Call by Reference
  • Program to Find Largest Number Using Dynamic Memory Allocation
  • Program to Sort Elements in Lexicographical Order (Dictionary Order)
  • Program to Calculate Difference Between Two Time Periods
  • Program to Display its own Source Code as Output
  • Matrix rotation by 90 degrees clockwise and anticlockwise
  • Saddle point coordinates of a given matrix
  • Matrix printing in a spiral form

🏁 Getting Started

Clone the repo and run in the directory

gcc main.c -o main.out && ./main.out

🎈 Usage

  • The interface of the menu is fairly simple, you just have to enter the number, which is against the function you wish to run and then follow the instructions displayed.

❗ Issues

If you find any bugs, please create an issue. We will work towards resolving it as fast as we can.

✍️ Authors

See also the list of contributors who participated in this project.