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

 Calculate the first 50 perfect cubes and store them in a list. Do not calculate them individually with fifty separate calculations. Use a loop. Each time through the loop, the program should calculate a perfect cube and append it to the list. 2. Use another loop to traverse the list and display the numbers in order.


To qualify for a loan award, a student should score between 25 - 100 points and should have been admitted to an accredited institution. write a program that accept points, institution and their gender(f for female an m for male) seperated by spaces and determine if the student qualifies for an award or not. The program should also, print their gender in full and capitalized. Please see sample runs below for appropriete massages/input/output. Use table for program.


Write a program thst calculate and display an employee's weekly salary. if the hours worked are less or equal to 40, the employee is payed N$65.54 per hour, otherwise the employee receives N$80.20 for every hour worked exceeding 40.


Create a do-while loop that asks the user to enter two numbers. The numbers should be added and the sum displayed. The loop should ask the user whether he or she wishes to perform the operation again. If so, the loop should repeat; otherwise it should terminate

Sample Run1

Enter two numbers: 3 15

Do you want another operation: Yes

Enter two numbers: 45 56

Do you want another operation: No

Output1: Sum = 119

Sample Run2

Enter two numbers: 33 150

Do you want another operation: Yes

Enter two numbers: -56 56

Do you want another operation: Yes

Enter two numbers: 58 15

Do you want another operation: Yes

Enter two numbers: 123 87

Do you want another operation: No

Output2: Sum = 466


Write a program that implements PrintFunc and accepts input from user. 


Write a program that implements function PrintString and prints your name.


Write an application that handles a student report card. The application shall save the marks of computer science, math and English. Each subject has a total of 50 marks. If a student obtains at least 75/150 marks, an event will trigger and show a congratulation message on passing the exam. Otherwise, it will display an “F” grade.


Use the array ADT to compute the addition and subtraction of two polynomials.

The interface of your program must look like this one:

Enter the degree of polynomial for p(x) : 5

Enter the coefficient of x^0 : 0

Enter the coefficient of x^1 : 4

Enter the coefficient of x^2 : 5

Enter the coefficient of x^3 : 0

Enter the coefficient of x^4 : 6

Enter the coefficient of x^5 : 4

Enter the degree of polynomial for q(x) : 3

Enter the coefficient of x^0 : 3

Enter the coefficient of x^1 : -2

Enter the coefficient of x^2 : 3

Enter the coefficient of x^3 : 10

First Polynomial p(x) = 4x^5 + 6x^4 + 5x^2 + 4x

Second Polynomial q(x) = 10x^3 + 3x^2 – 2x + 3

p(x) + q(x) = 4x^5 + 6x^4 +10x^3 + 8x^2 + 2x + 3

p(x) – q(x) = 4x^5 + 6x^4 – 10x^3 + 2x^2 + 6x – 3

The numbers in Red are entered by the user.


Hint:

Use 1D array to store the polynomials:

For the above example, the polynomials will be stored like this:


Index 0 1 2 3 4 5

p(x) Coefficient 0 4 5 0 6 4


Index 0 1 2 3

q(x) Coefficient 3 -2 3 10


Use the array ADT to compute the addition and subtraction of two polynomials.

The interface of your program must look like this one:

Enter the degree of polynomial for p(x) : 5

Enter the coefficient of x^0 : 0

Enter the coefficient of x^1 : 4

Enter the coefficient of x^2 : 5

Enter the coefficient of x^3 : 0

Enter the coefficient of x^4 : 6

Enter the coefficient of x^5 : 4

Enter the degree of polynomial for q(x) : 3

Enter the coefficient of x^0 : 3

Enter the coefficient of x^1 : -2

Enter the coefficient of x^2 : 3

Enter the coefficient of x^3 : 10

First Polynomial p(x) = 4x^5 + 6x^4 + 5x^2 + 4x

Second Polynomial q(x) = 10x^3 + 3x^2 – 2x + 3

p(x) + q(x) = 4x^5 + 6x^4 +10x^3 + 8x^2 + 2x + 3

p(x) – q(x) = 4x^5 + 6x^4 – 10x^3 + 2x^2 + 6x – 3


Write a function to randomly delete a node in a doubly circular link list. The return type of this function

is void, and it will not accept any parameter. Then write a main() program to test your code. Here is

the sample output of the program.


Initial doubly link list is:

40 50 10 30 65 18 72

The computer has randomly chosen node number 5 to delete

The link list after deletion of node is

40 50 10 30 18 72


LATEST TUTORIALS
APPROVED BY CLIENTS