4. Write a C program to input number from user and check number is palindrome or not using while loop.
Good character
You are given a tree with N nodes and N-l edges and two nodes x and y where x! = y. Each node is assigned with a character from 'a' to 'z'. Let us define function F (c) as the total number of pairs of nodes (u,v) such that the shortest path from node u to node v includes nodes x and y and characters present at nodes u and v are equal to c. You are given a string S where S[i]denotes the character assigned to node I where1≤ i ≤ N
Task
Determine the value of F(c) for all characters c from 'a' to 'z:
Write a source code of object detection from any of the videos.
find the value of cosx by using the inbuilt function
Write a function solution that given a three digit integer N and Integer K, returns the maximum possible three digit value that can be obtained by performing at most K increases by 1 of any digit in N
given N=192, N=4, output should be 591
Write functions which respectively calculate the sum, product, minimum, maximum, average of two integers A and B. Use these functions in a program.
Write a menu driven program to create binary tree using linked list for
computing following information.
a) To count number of leaf nodes
b) To count number of non-leaf nodes
c) To find total number of nodes
d) To compute height of the binary tree
e) To find sum of all nodes
f) To find the minimum element
g) To find the maximum element
Write a program for Presidential Elections, the user will enter his votes based on the code for each candidate. The program will add the total votes for each candidate and proclaim the winner whoever got the most number of votes. The user will stop in accepting votes if the user entered letter ‘Q’ to quit. Type ‘V’ to vote and ‘R’ to view the result.
An algorithm is written to read ten numbers from the user. It adds all ten numbers together and works out the average. The average is then output.
Write a C Program for extracting only operators from a large string.