Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Solved Assignments
Asked Questions
Answered Questions
Write a program to count the number of words and lines in a file “poem.txt”. Write a program to count number of spaces, tabs and newline characters in a file“Notes.txt”.
Write a program to implement a static stack and show the push and pop operations on the stack.
Write a program to convert singly linked list into circular linked list. Write a program to create single linked list of integers, where the new node has to be inserted in such a way that the list i
Write a program to implement a circular linked list of integers. Write a program to implement linked stack.
Write a non recursive function to insert the node in AVL tree. Write a non recursive function to delete a node from an AVL tree. Write a recursive function to delete node from the AVL tree.
Write a function to swap a binary tree. Write a function to find out the inorder predecessor of a given node in a binarytree. The inputs to the function are a pointer to the root of the tree and a p
Write a program to print Fibonacci series using recursive function. Write a recursive function to multiply two polynomials.
Write a function to encrypt and decrypt a string using pointers and use your own method of encryption and decryption.
Write a function to find out the product of two matrices. Matrices are passed to the function as argument. Write a function to check the equality of two matrices. Matrices are passed to the function
Write a function to copy one string into another string. Both the strings are passed to the function as argument.
Write a function to swap the values of two integer variables using Extra variable and Without using extra variable.
Write a program to print the lower half and upper half of a square matrix. Write a program to construct a magic square. Write a program to find out the trace of a matrix.
Write a program to transpose a square matrix. Write a program to find the inverse of the matrix.
Write a program to sort an array using bubble sort, selection sort, Quick sort and Heap sort technique.
Write a program to reverse an array of floats. Write a program to create a sorted list using arrays. Every time the element is entered in the array, the array must remain sorted.
Write a program to convert a given infix expression to prefix and postfix expression. Write a program to evaluate a prefix expression given by the user.
Write a program to swap two strings stored in the array. Write a program to input 5 strings in an array of strings and display all the strings with their lengths.
Write a program to calculate the length of a string. Write a program to input two strings and print which one is lengthier.
Write a program to determine all Pythagorean triplets in the range 100 to 1000. Write a program to input a number and find out the sum of its digits.
Write a program to find out the sum of geometric series. Write a program to print out all Armstrong numbers between 1 and 500.
Write a program to convert a octal number to the decimal number. Write a program to convert a decimal number to equivalent binary number (fractions also).
Write a program to print the sum and average of first n even numbers. Write a program to input 2 numbers and find out the sum of all the even numbers which arenot divisible by 5 but divisible by 3 a
Write a program to convert a small letter into capital letter and vice versa. Write a program to input three numbers and print them in descending order.
Write a program to input a character and check that it’s a vowel or a consonant. Write a program to input a character and check that it’s a small letter, capital letter, a digit or a speci
Write a program to input marks of a student and print the result (pass/fail) using conditional operator.