100% Solved:
#include <iostream> #include <string.h> using namespace std; const int arrLength = 10; struct Student{ string userVUID; string userDetails; }std1={"NULL","NULL"}; class ArrQueue{ private: //Data Members Student arr[arrLength]; int front; int rear; public: //Constructor ArrQueue(){ for(int i=0; i<arrLength; i++) arr[i] = std1; front = 1; rear = 1; } //Member Functions void enQue(Student std){ if(isEmpty()){ arr[0] = std; front++; rear++; } else if(isFull()){ cout << " Queue is full."; } else{ arr[rear+1] = std; rear++; } } void deQue(){ if(isEmpty()){ cout<< " No Student In the Queue.\n"; } else if(rear == 0){ arr[front] = std1; front = 1; rear = 1; } else{ int tempfront = front; arr[front] = std1; for(int i=1; i<=rear; i++ ){ arr[front] = arr[i]; front++; } rear; front = tempfront; } } int queLength(){ return rear+1; } bool isEmpty(){ if(front==1  rear==1) return true; else return false; } bool isFull(){ if(rear == arrLength1) return true; else return false; } void showQue(){ cout << "\n Sr. VU ID Details "; cout << "\n  \n"; for(int i=front; i<=rear; i++){ cout<<" "<< i+1<< ". "<< arr[i].userVUID << " " << arr[i].userDetails <<"\n"; } } }; int main(){ /*Code For Even Id's Student std[] = {{"BC12345684","Bilal (BSCS)"}, {"BC12345685","Bilal (BSCS)"},{"BC12345686","Bilal (BSCS)"},{"BC12345687","Bilal (BSCS)"}, {"BC12345688","Bilal (BSCS)"}};*/ /*Code For Odd Id's */ Student std[] = {{"BC12345683","Bilal (BSCS)"}, {"BC12345684","Bilal (BSCS)"},{"BC12345685","Bilal (BSCS)"},{"BC12345686","Bilal (BSCS)"}, {"BC12345687","Bilal (BSCS)"}}; ArrQueue arrQue; cout << "\n "; cout << "\n  Queue (After Adding Students) "; cout << "\n "; for(int i=0; i<=4; i++){ arrQue.enQue(std[i]); } arrQue.showQue(); cout << "\n "; cout << "\n  Queue (After Removing Students) "; cout << "\n "; /* Code For Even Id's for(int i=0; i<=1; i++){ arrQue.deQue(); }*/ /*Code For Odd Id's*/ for(int i=0; i<1; i++){ arrQue.deQue(); } arrQue.showQue(); }ECO406 Assignment 1 Solution and Discussion


@BabarSatti said in ECO406 Assignment 1 Solution and Discussion:
Question no.4
Calculate the future value (Pt) of a principal or present amount (Po) i.e. Rs.
450 at 14% interest rate, three years from now when compounded annually.
(Marks: 3)Solution Idea

@BabarSatti said in ECO406 Assignment 1 Solution and Discussion:
Question no.2
Solve the following equation by factorizing method and find the values of
X.
2X2
4X30=0
(Marks: 5)2×24x=0
24x=0
4x=2
x=2/4
x=1/2 
@BabarSatti said in ECO406 Assignment 1 Solution and Discussion:
Question no. 1
Which among the followings are identities and which are equations, and
why?
I. 4(x1) +1=x3(1x)
II. x(x1) =x(x2) +6
(Marks: 2)4( x1)+1=x3(1x)
=4x4+1 =x3+3x
=4x3 =4x3 This is identity.
2.x(x1) x(x2)+6
This is equation. 
@cyberian
SEMESTER SPRING 2020
MATHEMATICAL ECONOMICS (ECO406)
ASSIGNMENT
DUE DATE: 11TH JUNE, 2020
MARKS: 15
Question no. 1
Which among the followings are identities and which are equations, and
why?
I. 4(x1) +1=x3(1x)
II. x(x1) =x(x2) +6
(Marks: 2)
Question no.2
Solve the following equation by factorizing method and find the values of
X.
2X2
4X30=0
(Marks: 5)
Question no.3
Solve the following equation and find the value of unknown(x).
6 2 2 3
5 37 5 2
x x
x x
(Marks: 5)
Question no.4
Calculate the future value (Pt) of a principal or present amount (Po) i.e. Rs.
450 at 14% interest rate, three years from now when compounded annually.
(Marks: 3)
IMPORTANT:
24 hours extra / grace period after the due date is usually available to overcome
uploading difficulties. This extra time should only be used to meet the
emergencies and above mentioned due dates should always be treated as final
to avoid any inconvenience.
IMPORTANT INSTRUCTIONS
DEADLINE:
Make sure to upload the solution file before the due date on VULMS.
Any submission made via email after the due date will not be accepted.
FORMATTING GUIDELINES:
Use the font style “Times New Roman” or “Arial” and font size “12”.
It is advised to compose your document in MSWord format.
You may also compose your assignment in Open Office format.
Use black and blue font colors only.
RULES FOR MARKING
Please note that your assignment will not be marked, if:
It is submitted after the due date.
The file you uploaded does not open or is corrupt.
It is in any format other than MSWord or Open Office; e.g. Excel,
PowerPoint, PDF etc.
It is cheated or copied from other students, internet, books, journals etc.
Note related to load shedding: Please be proactive
Dear students!
As you know that semester activities have started and load
shedding problem is also prevailing in our country. Keeping in
view the fact, you all are advised to post your activities as early as
possible without waiting for the due date. For your convenience;
activity schedule has already been uploaded on VULMS for the
current semester, therefore no excuse will be entertained after due
date of assignments, quizzes or GDBs. 
@cyberian pleaseprovide solution