You have to write a menu-driven program that asks the user to select a favorite color from the given colors. Keep asking the user three times for selecting the color from the list of the available colors. Do this with the help of a suitable loop and switch statement. Finally, you have to display the three favorite colors of the user.
Take input of number 12008988 in the University using appropriate data type. Write a
programme to print all the prime number digits, each in a new line, in this number
Input numbers from the user and find the product of all those input numbers until the user
inputs a negative number. In other means, the loop should end when the user enters a
negative number. Finally, display the product of all those positive numbers entered by the
user.
Write a code in C language to Calculate average CGPA with grade and score
Take input of your registration number(8-digits) in the University. Write a program to print all the prime numbers digits in your registration number
Use recursion tree to solve the following recurrence.
T(n) = T(n/15) + T(n/10) + 2T(n/6) + √n
Write a c program to make a queue from user input and check whether prime number present or not in the queue and find frequency of the prime number.
Hints
Make a menu which will having following menu options
-insert queue data
-insert in which position
-delete queue data
-show queue
-show prime numbers in queue
-show frequency of prime number in queue
construct a binary tree from given in-order and post-order sequence without using recursion
Write a code to find the frequency of prime numbers from a user input queue
Write a code to find the frequency of prime numbers from a queue