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 scan a number n and then output the sum of the squares from1 to n. Thus, if the input is 4, the output should be 30 because:12 + 22 + 32 + 42 1 + 4 + 9 + 16 =30


1st Solution – using for loop

2nd Solution – using while loop

3rd Solution-­‐ using do while loop


Write a program to calculate the sum of the sequence no. from 1 to n. Thus if the input is 6, the output should be 21 because: (Apply the three looping statements in your solutions) 1 + 2 + 3 + 4 +5 + 6 = 21


1st Solution – using for loop

2nd Solution – using while loop

3rd Solution-­‐ using do while loop


Identify the different domain names used in Internet. How does the name resolution take place in DNS? Explain it with help of a diagram. 


EXPLAIN the operation of DHCP with an appropriate example


Write a c++ program that will compute the gross pay of the employee after 5 days work. The gross pay is the number of hours work per day plus the bonus pay after it reach the 5 day quota, see below table. The employee is paid 100 pesos per hour

The Bonus is computed in percentage of the total salary the employee earn.

At the end of the program it will ask the user to run the program again or terminate. If to run, it will loop from the beginning of the program.



Total Hours Work Bonus Percentage

Below 40 Hours 0

40-55 Hours + 5%

56-65 + 10%

65 above + 15%



Total Salary = Total Number of Hours work x 100

Gross Pay = Total Salary + Bonus

Sample:

>>Hours work day 1: 8

>>Hours work day 2: 9

>>Hours work day 3: 10.5

>>Hours work day 4: 5

>>Hours work day 5: 10

>> Your gross pay for the week is 4462.5

>> Do you want to continue? Y if Yes or press other key to exit: h

>>


Discuss Connection establishment and connection release in transmission protocol with diagrammatic illustrations.


Differentiate echo services of TCP and UDP .


Discuss about the different types of socket calls using in TCP &UDP.


C++ Code


Competition Score 


the assignment must have a score system of 10 points from 10 judges, for the 10 athletes that are participating in the competition, the score should be from 0 to 10 from each judge to the 10 athletes. an example for one of the 10 athletes is shown below.


Jake Miller's results:

8.10, 7.10, 9.40, 7.20, 9.20, 6.40, 9.50, 8.40, 6.70, 6.60

The highest score of 9.50 and the lowest score of 6.40 were dropped

The average score is 7.84




 Write a Java program that asks the user to enter an integer number N and successively display all the odd numbers that are less than or equal to N.

 Improve the program so that it also displays the number of odd numbers

less than or equal to N.



LATEST TUTORIALS
APPROVED BY CLIENTS