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

Write a program to multiply every element of the linked list with 10


Write a program to sort an array of floating-point numbers in descending order using the quick sort?


Write a program to multiply every element of the linked list with 10


Explain the difference between a MAC address and an IP address. Answer should be related to the OSI model


Modify the power method so that the stopping condition is changed to

| ((Axn-un xn)/|Xn|) | <tolerance

where xn, μn are the current estimates of the eigenvector and eigenvalue. Demonstrate the validity of your code by running it on the matrix

3 -1 0

-1 2 -1

0 -1 3


ou are given a side of a square as input. Write a program to find the perimeter and area of the square.


Input

The input is an integer representing the length of the side of the square.


Output

The first line of the output should contain area of the square, and the second line of the output should contain the perimeter of the square as per the format shown in the sample output.


Explanation

Given the length of the side is 2.


As the area of square is side*side and the perimeter of the square is 4*side.


Then output should be

4

8

Sample Input 1

3

Sample Output 1

9

12

Sample Input 2

4

Sample Output 2

16

16


Write a program to print the sum of two numbers, A and B. If their sum is less than 10, otherwise print the product of numbers.


solution


Given

N number of days as input, write a program to convert N number of days to years (Y), weeks (W) and days (D).


solution


Write a program to print the sum of two numbers, A and B. If their sum is less than 10, otherwise print the product of numbers.


solution please


Create a function to sort a unsorted singly linked list.
Note:
1)no global declarations are allowed
2) make class
LATEST TUTORIALS
APPROVED BY CLIENTS