From 5d7746c43f9f78f8dc257050c873252c720dfa60 Mon Sep 17 00:00:00 2001 From: Swasthik shetty <42874695+swaaz@users.noreply.github.com> Date: Wed, 24 Jul 2019 21:26:27 +0530 Subject: [PATCH 1/2] Update README.md --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 49ef854c..e3c7fc3b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,19 @@ # C-basicprograms -This repo contains basics programs in c programming language +## This repo contains basics programs in c programming language. +| Program No.| Question | +| ------- | ------ | +| Program-01 | Develop a program to solve simple computational problems using arithmetic expressions and use of each operator leading to simulation of a Commercial calculator.(No built-in math function) | +| Program-02 | Develop a program to compute the roots of a quadratic equation by accepting the coefficients. Print appropriate messages. | +| Program-03 | Develop a program to find the reverse of a positive integer and check for palindrome or not. Display appropriate messages.| +| Program-04 | An electricity board charges the following rates for the use of electricity: for the first 200 units 80 paise per unit: for the next 100 units 90 paise per unit: beyond 300 units Rs 1 per unit. All users are charged a minimum of Rs. 100 as meter charge. If the total amount is more than Rs.400, then an additional surcharge of 15% of total amount is charged. Write a program to read the name of the user, number of units consumed and print out the charges. | +| Program-05 | Introduce 1D Array manipulation and implement Binary search. | +| Program-06 | Implement using functions to check whether the given number is prime and display appropriate messages. (No built-in math function)| +| Program-07 | Develop a program to introduce 2D Array manipulation and implement Matrix multiplication and ensure the rules of multiplication are checked.| +| Program-08 |Develop a Program to compute Sin(x) using Taylor Series approximation. Compare your result with the built-in Library function. Print both the results with appropriate messages. | +| Program-09 | Write functions to implement string operations such as compare, concatenate, string length. Convince the parameter passing techniques. | +| Program-10| Develop a program to sort the given set of N numbers using Bubble sort.| +| Program-11 | Develop a program to find the square root of a given number N and execute foe all possible inputs with appropriate messages. Note: Don’t use library function sqrt(n). | +| Program-12 | Implement structures to read, write and compute average marks and the students scoring above and below the average marks for a class of N students. | +| Program-13 | Develop a program using pointers to compute the sum, mean and standard deviation of all elements stored in an array of n real numbers. | +| Program-14 | Implement recursive functions for Binary to Decimal Conversion. | + From 5ac8f265219e1cea5d0c4646e1c041cb4eee28a3 Mon Sep 17 00:00:00 2001 From: Swasthik shetty <42874695+swaaz@users.noreply.github.com> Date: Fri, 26 Jul 2019 21:57:32 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e3c7fc3b..8d296fef 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,11 @@ ## This repo contains basics programs in c programming language. | Program No.| Question | | ------- | ------ | -| Program-01 | Develop a program to solve simple computational problems using arithmetic expressions and use of each operator leading to simulation of a Commercial calculator.(No built-in math function) | -| Program-02 | Develop a program to compute the roots of a quadratic equation by accepting the coefficients. Print appropriate messages. | -| Program-03 | Develop a program to find the reverse of a positive integer and check for palindrome or not. Display appropriate messages.| -| Program-04 | An electricity board charges the following rates for the use of electricity: for the first 200 units 80 paise per unit: for the next 100 units 90 paise per unit: beyond 300 units Rs 1 per unit. All users are charged a minimum of Rs. 100 as meter charge. If the total amount is more than Rs.400, then an additional surcharge of 15% of total amount is charged. Write a program to read the name of the user, number of units consumed and print out the charges. | -| Program-05 | Introduce 1D Array manipulation and implement Binary search. | +| Program-01 | Program to print pattern | +| Program-02 | Program to check whether the given number is prime or not | +| Program-03 | Program to find largest of three number using simple if condition| +| Program-04 | Program to find largest of three number using if-else condition | +| Program-05 | Program to find largest of three number using nested if condition | | Program-06 | Implement using functions to check whether the given number is prime and display appropriate messages. (No built-in math function)| | Program-07 | Develop a program to introduce 2D Array manipulation and implement Matrix multiplication and ensure the rules of multiplication are checked.| | Program-08 |Develop a Program to compute Sin(x) using Taylor Series approximation. Compare your result with the built-in Library function. Print both the results with appropriate messages. |