Design and develop a flowchart or an algorithm that takes three coefficients (a, b, and c) of aQuadratic equation (ax2+bx+c=0) as input and compute all possible roots. Implement a Cprogram for the developed flowchart/algorithm and execute the same to output the possibleroots for a given set of coefficients with appropriate messages.
Design and develop an algorithm to find the reverse of an integer number NUM and checkwhether it is PALINDROME or NOT. Implement a C program for the developed algorithmthat takes an integer number as input and output the reverse of the same with suitablemessages. Ex: Num: 2014, Reverse: 4102, Not a Palindrome
3a. Design and develop a flowchart to find the square root of a given number N. Implementa C program for the same and execute for all possible inputs with appropriate messages.Note: Don’t use library function sqrt(n).
3b. Design and develop a C program to read a year as an input and find whether it is leap year ornot. Also consider end of the centuries.
Design and develop an algorithm to evaluate polynomial f(x) = a4x4 + a3x3 + a2x2 + a1x + a0,for a given value of x and its coefficients using Horner’s method. Implement a C programfor the same and execute the program with different set of values of coefficients and x.
Draw the flowchart and Write a C Program to compute Sin(x) using Taylor series approximationgiven by Sin(x) = x - (x3/3!) + (x5/5!) - (x7/7!) + …….
Compare your result with the built- in Library function. Print both the results with appropriatemessages.
Develop an algorithm, implement and execute a C program that reads N integer numbers andarrange them in ascending order using Bubble Sort.
Develop, implement and execute a C program that reads two matrices A (m x n ) and B(p x q ) and Compute product of matrices A and B. Read matrix A and matrix B in rowmajor order and in column major order respectively. Print both the input matrices and resultantmatrix with suitable headings and output should be in matrix format only. Program mustcheck the compatibility of orders of the matrices for multiplication. Report appropriatemessage in case of incompatibility.
Develop, implement and execute a C program to search a Name in a list of names using Binarysearching Technique
Write and execute a C program that
i. Implements string copy operation STRCOPY(str1,str2) that copies a string str1 to another string str2 without using library function.
ii. Read a sentence and print frequency of vowels and total count of consonants.
a. Design and develop a C function RightShift(x ,n) that takes two integers x and n asinput and returns value of the integer x rotated to the right by n positions. Assume theintegers are unsigned. Write a C program that invokes this function with different valuesfor x and n and tabulate the results with suitable headings
b. Design and develop a C function isprime(num) that accepts an integer argument andreturns 1 if the argument is prime, a 0 otherwise. Write a C program that invokes thisfunction to generate prime numbers between the given range.
Draw the flowchart and write a recursive C function to find the factorial of a number, n!, defined byfact(n)=1, if n=0. Otherwise fact(n)=n*fact(n-1). Using this function, write a C program to computethe binomial coefficient nCr. Tabulate the results for different values of n and r with suitablemessages.
Given two university information files “studentname.txt” and “usn.txt” that contains studentsName and USN respectively. Write a C program to create a new file called “output.txt” andcopy the content of files “studentname.txt” and “usn.txt” into output file in the sequence shown below . Display the contents of output file “output.txt” on to the screen.
Student Name USN
Name 1 USN1
Name 2 USN2
…. ….
…. ….
Write a C program to maintain a record of n student details using an array of structures withfour fields (Roll number, Name, Marks, and Grade). Assume appropriate data type for eachfield. Print the marks of the student, given the student name as input.
Write a C program using pointers to compute the sum, mean and standard deviation of all elementsstored in an array of n real numbers.