Write a program that inputs a string value from the user and displays it in reverse using pointer.
Create a class called Book to represent a book. A Book should include four pieces of information as
instance variables‐a book name, an ISBN number, an author name and a publisher. Your class should
have a constructor that initializes the four instance variables. Provide a mutator method and accessor
method (query method) for each instance variable. In addition, provide method named getBookInfo
that returns the description of the book as a String (the description should include all the information
about the book). You should use this keyword in member methods and constructor. Write a test
application named BookTest to create an array of object for 30 elements for class Book to demonstrate
the class Book's capabilities.
Write a program with a mother class animal. Inside it define a name and an age variables, and
set_value() method.Then create two instance variables Zebra and Dolphin which write a message
telling the age, the name and giving some extra information (e.g. place of origin).
The school of Computing and Mathematical Sciences is open for registration of ICT qualifications. Create a registration form that accepts a prospective student’s name, surname, race, gender, cellphone number, email address, home address and the ICT qualification the student wishes to apply for (Diploma in ICT: Applications Development, Advanced Diploma in ICT: Application Development, Post Graduate Diploma in ICT: Applications Development). Upon completion of the form, the prospective student must agree to the terms and conditions of the university by selecting a checkbox and submit the form. Insert this data into the database. Also include a delete and update button.
NB: Please align your textboxes and text fields
Q.1.8
The user must have the ability to search for a product. The user will select menu item two (2), which will prompt the user to enter a product code. If a valid product is found in the application, then display the product details to the user. If no valid product is found, display an error message to the user that the product cannot be located.
Sample Product Search Screenshot
Please enter the product code to search: 235
PRODUCT SEARCH RESULTS
PRODUCT CODE: A55
PRODUCT NAME: EliteBook
PRODUCT WARRANTY: laptop
PRODUCT CATEGORY: 2 years
PRODUCT PRICE: 15000
PRODUCT STOCK LEVELS: 3
PRODUCT SUPPLIER: IT_4_Africa
Enter (1) to launch menu or any other key to exit
Sample Invalid Product Screenshot
Please enter the product code to search: 1
The product cannot be located.
Invalid Product Enter (1) to launch menu or any other key to exit
There is a structure called employee that holds information like employee code, name, date of joining. Write a program to create an array of the structure and enter some data into it. Then ask the user to enter current date. Display the names of those employees whose tenure is 3 or more than 3 years according to the given current date
Create and Print List -3
You are given
The first line of input is an integer
In the given example,
N=4 and the numbers are 1, 2, 3, 4. So, the output should be [ 1, 2, 3, 4 ]
Sample Input 1
4
1
2
3
4
Sample Output 1
[1, 2, 3, 4]
Sample Input 2
3
13
21
19
Sample Output 2
[13, 21, 19]
Given an MxN integer matrix, write a program to - Find all zeros and replace them with the sum of their neighbor
elements.
- After replacing the zeros, set all other elements in the corresp row and column with zeros (excluding the elements which were previously zeros).
Note: Consider the upper, lower, right and left elements as
neighboring elements.
You are given a list of prices, where given stack on the i th day.
Write a program to print the maximum profit by choosing a singl to buy a stock and choosing a different day in the future to sell stock.
If there is no profit that can be shieved, return 0Write a program with a mother class and an inherited daugther class. Both of them should have a
method void display () that prints a message (different for mother and daugther).In the main define a
daughter and call the display() method on it.