AJAX | JavaScript | HTML | PHP Answers

Questions: 323

Answers by our Experts: 213

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

code for simple website in html
What does the following rule set do?
tbody tr:nth-child(2n) {
background-color: gray;
}
How to make log-in form and register form in html? And how to make it work?
A program to show the sum of odd numbers between 1 and 99.
Can you guys make a website,showing the 7 wonders of the world using HTML?
Suppose you have a certain amount of money in a savings account that earns compound interest, and you want to calculate the amount that you will have after a specific number of months. The formula is as follows:
F = P X (1 + i) ^ t
The terms in the formula are:
F is the future value of the account after the account after the specified time period.
P is the present value of the account.
i is the monthly interest rate.
t is the number of months.
Write a program that executes a loop 5 times. Each step of the loop generate a random value for P, i (between 0 and 10 percent) , and the number of months betwen (1 and 100). The loop should then pass these values to a function that returns the future value of the account, after the specified number of months. The program should display the accounts future value each pass. See sample output below:
Present Value: $500.00
Monthly Interest Rate: .07
Number of Months: 72
Future Value: $65,253.23
A prime number is a number that is only evenly divisible by itself and 1. For example, the number 5 is prime because it can only be divided by 1 and 5. The number 6 however, is not prime because it can be divided evenly by 1, 2, 3, and 6.
Write a Boolean function named isPrime which takes an integer as an argument and returns true if the argument is a prime number of false otherwise. Generate 100 random numbers and display the results of checking each one for primality.
Save this in a script called primes.js.
Create a script called odd_even.js. Write a program that generates 100 random numbers and keeps count of how many of those random numbers are even and how many of them are odd. Sum the even numbers and sum the odd numbers. Use a function to check if a given number is even or odd and use a function that returns the sum of a given array. Display the results as:
Even Number Count: 72
Odd Number Count: 28
Sum Even: 560
Sum Odd: 433
Assuming the ocean's level is currently rising at about 1.6 millimeters per year, write a program called ocean_levels.js, that displays the number of millimeters, that the ocean will have risen each year for the next 25 years
Assume that hot dogs come in packages of 10, and hot dog buns come in packages of 8. Write a program called cookout.js, that calculates the number of packages of hot dogs and the number of packages of hot dog buns needed for a cookout, with the minimum amount of leftovers. The program should assume there will be 525 people attending the cookout and each person will eat 3 hot dogs. The program should display the following details.

The minimum number of packages of hot dogs required.

The minimum number of packages of hot dog buns required.

The number of hot dogs that will be left over.

The number of hot dog buns that will be left over.
LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS