Create a class named Fruit with a data member to calculate the number of fruits in a basket. Create two other class named Apples and Mangoes derived from class Fruit to calculate the number of apples and mangoes in the basket. Print the number of fruits of each type and the total number of fruits in the basket
Write separate queries using a join, a subquery, a CTE, and then an EXISTS to list all AdventureWorks customers who have not placed an order.
Write a program which has an abstract class called Number having an integer data member.
The class contains a pure virtual function called operation. A class called Armstrong is derived from
class called Number. Another class called Palindrome is derived from class Number. Use
appropriate constructors and redefine the function called operation to display if the number is
Armstrong number as well as Palindrome in case it falls in this category. You may make use of
other data members and member functions if needed
Write a program which has a class called binary which has a character array to store a binary
string. The class decimal derives from class binary and contains an integer data member. Another
class called hexadecimal also derives from binary. Each class should contain constructors and
appropriate data members to input and display the elements. The display function of binary class
displays the binary equivalent, hexadecimal class’s display function displays hexadecimal
equivalent whereas decimal class’s display function displays the decimal equivalent.
Write a program which has a class template for determining the largest and the smallest number
from a list of numbers. Use a constructor for input and appropriate data members and member
functions in support of your answer.
Suppose you are asked to develop a website for online fruits selling company dealing in just Banana, Orange, and Apple . Keeping in view this, write ten most appropriate keywords and also suggest a good domain name that is currently not buy by anyone and available to buy. Your website must select the keywords in such a way that you can get more customers.
Create a class named Fruit with a data member to calculate the number of fruits in a basket. Create two other class named Apples and Mangoes derived from class Fruit to calculate the number of apples and mangoes in the basket. Print the number of fruits of each type and the total number of fruits in the basket
Suppose you are asked to develop a website for online fruits selling company dealing in just Banana, Orange, and Apple . Keeping in view this, write ten most appropriate keywords and also suggest a good domain name that is currently not buy by anyone and available to buy. Your website must select the keywords in such a way that you can get more customers.
Create a class named Fruit with a data member to calculate the number of fruits in a basket. Create two other class named Apples and Mangoes derived from class Fruit to calculate the number of apples and mangoes in the basket. Print the number of fruits of each type and the total number of fruits in the basket.(using c++ language)
Q1: Write the code in PHP MYSQL to update the salary of the employee where where name is ali and salary is an even number. (4)
CNIC
Name
Salary
Mobile Number