GIven a class definition:
class Circle
{
private:
int radius;
public:
Circle (int inputRadius)
{ radius = inputRadius; }
}
Please provide 2 distinct ways to create circle_object with initial radius value = 5.
Explain at least not less than five differences between data-oriented programming and object-oriented programming. In your explanations, include concepts of data-oriented design, object-oriented design, and use at least five examples which should include source codes to support your arguments.
Explain complement arithmetic and its significance in the computation
B (C++) [27] You are requested by a SuperStore (Spar) in Soshanguve to calculate it’s earning for the week (the store opens the entire week) and determine the day with the highest and lowest earnings. The Store comprises of two sections namely the Food section and the Liquor store. Your C++ program should prompt the total sales for each section for each day and store the total sales for the day into an array. At the end of the week It should display a report for Management for the total sales for that week, the day the lowest sales and the day with the highest sales were recorded. Refer to below screen shot for sample Input and Output.
For this final assignment, you will use Qt to create a GUI version of the templated LinkedList you made for assignment 9.
You may design your window as you wish, but it needs to have the minimum functionality: