2. The area of a triangle whose sides a, b, and c can be computed by the formula:
π¨πππ ππ π»πππππππ = βπ ((π β π)(π β π)(π β π))
The area of a triangle whose sides a, b, and c can be computed by the formula:
π¨πππ ππ π»πππππππ = βπ ((π β π)(π β π)(π β π))
where S = (a+b+c)/2. On the other hand, the hypotenuse of a right triangle can be computed using the
formula:
One (1) euro is equivalent to fifty five (55) pesos and one (1) dollar is equivalent to 44 pesos. Write a program
that converts dollar to euro. The program should ask the user to input an amount in dollar and display the
equivalent amount in euro. Use a function for the conversion. Allow the user to repeat as often as the user
wants.
Create a struct Boat include the length, name and how many nights the boat will be in the marina.
Ask the user for the length of the boat, the name of the boat and how many nights they will be staying.Β Store the info in a vector of boats but do not allow more than 20 boats because that is the capacity of the marina.Β Allow the user to print out all the boats that are 40 feet or above.Β Write a menu so the user can continue until they wish to quit.
Make a dictionary using linked list that searches names of people entered by the user using the First alphabet of the name
For example, if user enters names, Ali, abbas, bakar, rehan and then searches for names starting with 'a' then it displays the names
Abbas and Ali
Note:
No global declarations
Make use of class or struct
Test run your code in main
Write a C++ program to answer inquiries about data of 5 students. The program will display a menu
that enables the users to choose from three options
Write a c program in which the user enters his/her salary and the program computes the relevant tax according to the table below
SALARY RANGE. TAX(%)
<=170000. 0%
170000 - 360000. 11%
360,000 - 540000. 20%
540000 - 720000. 25%
>720000. 30%
Director office requires applications from students for the award of scholarship. Each student is required to submit reg no, name, semester and capa in the last semester. The form recived are placed one over the other initially the administration don't know how many student will apply After reciving all the applications the administration check each application and formulate a list of students whose cgpa is more than 3.8 This list contains the student on top who applied first You are required to implement this senarioin C++ Assuming primitive functions are already given just tell which ADT or data structure is used to implement this
Write a program that lists 30 employees' names, their jobs, and the store where they work using a two-dimensional array.
Input