Find the odd one out with reason:
ask user to input howmany members’ information will be entered into the system. Using linked list, program should accept asked information. Upon giving the neededinformation of each member,the system will display the information of each member. Use data types for each member of the linked list.
sample output below:
How many members’ information will be entered? 2
Kindly give the information of member #1
Enter first name: Sam
Enter middle name: Hui
Enter last name: Messi
Enter area code: 035
Enter telephone number: 999-22
Enter gender: male
Enter age: 9
Kindly give the information of member #2
Enter first name: Kim
Enter middle name: Prim
Enter last name: Cole
Enter area code: 047
Enter telephone number: 08-0978
Enter gender: female
Enter age: 18
Welcome to the club Sam Hui Messi!
Your area code and telephone number is (035) 999-22.
You are a male member, and your age is 9.
Welcome to the club Kim Prim Cole!
Your area code and telephone number are (047) 08-0978.
You are a female member, and your age is 18.
ask the user to input how many members’ information will be entered into the system. Using a linked list, the program should accept information such as first name, middle name, last name, area code,telephone number, gender, and age. sample output below:
How many members’ information will be entered? 2
Kindly give the information of member #1
Enter first name: Sam
Enter middle name: Hui
Enter last name: Messi
Enter area code: 035
Enter telephone number: 999-22
Enter gender: male
Enter age: 9
Kindly give the information of member #2
Enter first name: Kim
Enter middle name: Prim
Enter last name: Cole
Enter area code: 047
Enter telephone number: 08-0978
Enter gender: female
Enter age: 18
Welcome to the club Sam Hui Messi!
Your area code and telephone number is (035) 999-22.
You are a male member, and your age is 9.
Welcome to the club Kim Prim Cole!
Your area code and telephone number are (047) 08-0978.
You are a female member, and your age is 18.
your given two integers. a and b print the smallest among a%b and b%a
Make a program that will input type of network provider. A- for Smart and Display "SMART USER, enjoy 8.00 pesos per minute call". B- for Globe Display "GLOBE USER, enjoy 8.50 per minute call" and C-for Sun Display "SUN USER, enjoy 8.75 per minute call". Your program will be terminated when you input Z.
Write a program for Linked-list implementation of a complete binary tree. The program must
have the following functionalities.
a) Insert(): inserts a new ITEM to the complete binary tree. The items are of integer type.
b) Height(): returns height of a node recursively. Height (N) = MAX(Height(L), Height(R))
+ 1. Here, L and R respectively represent the Left child and Right child of node N. Height
of a leaf node is 0.
c) Preorder(): returns the preorder traversal sequence of the binary tree. Use recursive
implementation.
d) Postorder(): returns the postorder traversal sequence of the binary tree. Use recursive
implementation.
Explain about control and looping structure with an example program?
How to create a multi-line text entry in form design with an example program
(use the facilities of the <INPUT> and <TEXTAREA> tags to prompt the user by
including placeholder information in the text fields and text area.)
Write a program to implement the Merge sort algorithm with the space optimization for
auxiliary space O(n/2).
Write a program for Linked-list implementation of a complete binary tree. The program must
have the following functionalities.
a) Insert(): inserts a new ITEM to the complete binary tree. The items are of integer type.
b) Height(): returns height of a node recursively. Height (N) = MAX(Height(L), Height(R))
+ 1. Here, L and R respectively represent the Left child and Right child of node N. Height
of a leaf node is 0.
c) Preorder(): returns the preorder traversal sequence of the binary tree. Use recursive
implementation.
d) Postorder(): returns the postorder traversal sequence of the binary tree. Use recursive
implementation.