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

Using while or do-while. The Area of a Circle = pi *(r*r). Where pi=3.1415 and r=Radius, Make a program that will input Radius and compute and display the Area. Your program will be terminated if input zero in the radius.


Write a C++ program that takes two integer numbers from user as

input, and display their sum.


Define username and password as array variables

In the program, set an initial value for the variables

  • Username: default
  • Password: admin

The user should be able to login using the default credentials

The program should be able to change the default values of the array

If the user tries to login using wrong credentials he will be asked to re-login but after 3 wrong attempts the program will display "You've exceeded the allowable number of tries! Try again later"

If the user successfully logged in, the message "Welcome to my World" should be displayed on screen

if this can done in a user-define function, it would be better but not required for now.


SCREEN LAYOUT / DESIGN

Username: default

Password: admin


Change Username and Password

[Y/N]: Y


(Input new value for UN and PW.)

Username: correct UN

Password: correct PW


Welcome to my World


(If wrong credentials)


Username: wrong UN

Password: wrong PW

(for the 3rd time)


You've exceeded the allowable number of tries! Try again later

This computer organization would not require registers to execute it's instructions elobrate properly with an example and diagram on how this mechanism works

Explain the process followed by cpu while completing the interrupts and resuming to instructions with proper steps





Unite Family: Given three objects father, mother, and child, write a JS program to concatenate all the objects into the family object using the spread operator.Input: The first line of input contains an object father, The second line of input contains an object mother

  • The third line of input contains an object child

Output

  • The output should be a single line string with the appropriate statement as shown in sample outputs

Constraints

  • Keys of the objects should be given in quotes

Sample Input

{'surname' : 'Jones', 'city': 'Los Angeles'}

{'dish': 'puddings'}

{'pet': 'Peter'}

Sample Output

Mr and Mrs Jones went to a picnic in Los Angeles with a boy and a pet Peter. Mrs Jones made a special dish "puddings". Use spread operator to combine the input object to form a single object family. So that all the keys and values of father, mother, child will be in family object




Write an algorithm that calculates the net pay of an employee based on the formula as shown in Equation (1). Based on the algorithm, draw the flowchart as well. The taxes are calculated as following;



• If GrossPay is less than 5000, then taxes are zero



• If GrossPay is at least 5000, but less than 10,000 then taxes are 2% of the GrossPay



• If GrossPay is 10,000 or more, then taxes are 4% of the GrossPay



NetP ay = GrossP ay − T axes

Task 2.

Create a class Node with

a.      attributes data, next and previous pointer

b.      accessors and mutators for this class

c.      constructor and destructor

d.     function called display.

Using the node from task 2, implement a class called DLL with following functionalities

1.      insert a node at first ,

2.      overload to Insert a node at last

3.      overload to Insert at specified position of double linked list. E.g if the position number is 6, it is inserted between node at position 5 and 7. If position number is greater than the size of list, it is prompted that the position number does not exist and therefore is being inserted at end.


1.      Create a class Node with

a.      attributes data and next pointer

b.      accessors and mutators

c.      constructor and destructor

d.     function called display

e.      search node returning true or false

f.       overload the function search to include lookAhead method.

1.      Create a class polynomial to create a linked list that uses class node with the following functionalities

a.      Insertion. This function takes as an input the size of polynomial. E.g if the size is 6, the polynomial equation is of degree 6. Then you are required to create the appropriate list.

6x6+ 12x3+5

b.      Deletion. This function deletes the list of the degree of number passed as a parameter. E.g if the number is 7, it is invalid. If it is 2, it deletes the first 2 degrees and the remaining list is 12x3+5

c.      Overload the function of deletion. This function deletes the entire list.

d.      Traversal

e.      Print equation in the following format

6x6+0x5+0x4+ 12x3+0x2+0x1+5.


Write an application that allows a user to enter any number of student test scores until the user enters 999. If the score entered is less than 0 or more than 100, display an appropriate message and do not use the score. After all the scores have been entered, display the number of scores entered, the highest score, the lowest score, and the arithmetic average.

LATEST TUTORIALS
APPROVED BY CLIENTS