Write a program to reverse a string that is passed by the user.
can you please explain query how to convert 17200 into 17.2 in sql
examples:
18990 into 18.9
12300 into 12.3
pager code:
input 1:
abde
output:
12(i.e 1+2+4+5)
input 2:
XYZ:
outpu:75
Write a program to print the area of a rectangle by creating a function 'Area' taking the values of its length and breadth as parameters of its constructor and having a function named 'returnArea' which returns the area of the rectangle. Length and breadth of the rectangle are entered through keyboard. And return the area of rectangle.
Write a C++ program by creating an 'Employee' having the following functions and print the
final salary.
1 - 'getInfo()' which takes the salary, number of hours of work per day of employee as
parameters
2 - 'AddSal()' which adds $10 to the salary of the employee if it is less than $500.
3 - 'AddWork()' which adds $5 to the salary of the employee if the number of hours of work per
day is more than 6 hours.
Users should be able to easily search for books from index page and search for books to find their required book. Design and develop fully transactional console-based application which has the following functionalities.
Books: Facility to create information related each book in the bookstore. Input: BookNo (Primary Key), Title, SubCode, Author, Publisher
Books Chapters: Facility to create books chapter information. For every book available on the site has to have a clear view to read each chapter using books chapters view. Input: BookNo, ChapterNo, Title, startingPageno, EndingpageNo
Subjects: Facility to create subjects. Books available on the site should sub divided into different category which will help users to easily find required category books. Input: Subject Code, Name
Books Query: Direct search is needed to find books available on the site. Users must be able to search by bookNo, Title, Author.
Add/Edit/Delete Books: Facility should be provided add, edit, or delete information related to book.
create a class called person
populate the class with below private fields
1.First name as an String
2.Last name as an String
3.email id as string
4.Dateofbirth as DateTime
Add a constructor that accept Firstname,Lastname,Email,DateBirth as Parameter
Add read only properties that return the following computer information
1.Isadult a bool- Whether or not the person is over 18
2.Sunsing as string - the traditional western sun sign of the person
3.Isbirthday as bool - wether or not today is the persons birthday
4 ScreenName as string - a default screeb name that you might seen being offered to a first time user of gmail or yahoo(e.g. hari joe born on may 25th,1980 might be hdoe525 or haridoe052580)
Create a class classed employee which should be driven from person class. employee class should add the following properties
1. Salary as double
in the main method created object of employee class and test
the behavior by calling read-only properties
You are designing a spherical tank, as shown in figure below, to hold water for a sonll village in
a developing country. The volume of liquid it can hold can be compuned as
V=pi*h2*
(3R-h)/3
where V is the volume of water in the tank in m3, b is the height of water in the tank in m, R is
the radius of tank in m. If R is 3m and V is 30 m.
Formulate the equation in terms of height (h), from above generalized equation, representing the
present situation
Use the correct built-in function in MATLAB to determine all possible values of height (h) that
will satisfy the formulated equation i.e. determine all possible roots of the formulated equation.
From those values height (h) which one is the correct and why?
Write a python program to calculate the average of five numbers passed by users using function.