Questions: 11 448

Answers by our Experts: 10 707

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

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.


  1. Input two integer values. The first one shall accept any integer from 0-9 and the other one shall take a non-zero positive integer.
  2. Using a while loop, count how many of the first integer (0-9) is present in the digits of the second inputted integer and print the result (see sample input and output for example).
  3. Tip #1:Β You have to use your knowledge from the previous problems in looping through the digits of a number:Β % 10Β to get the rightmost digit, whileΒ / 10Β to remove the rightmost digit. Make sure to solve the previous problems first.


Input


LATEST TUTORIALS
APPROVED BY CLIENTS