HTML/JavaScript Web Application Answers

Questions: 680

Answers by our Experts: 648

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

Difine the following terminology


Information architecture


Website


Webpage


Domain nam


Ip address

out of 2 testcases, only 1 testcase is getting fail where its loged in console as NAN. The formula to calculate the final value with appreciation is, finalValue = principal * (1 + time * appreciation / 100).

Input

The first line of input contains a number principal

The second line (optional) of input contains a number time

The third line (optional) of input contains a number apprPercentage

Output

The output should be a single line containing the finalValue

Final Value with Appreciation:

Given principal amount

principal as an input, time period in years time and appreciation percentage apprPercentage as optional inputs, write a JS function to return the final value finalValue with the given appreciation percentage and time period. The default values for time and apprPercentage are 2 and 5 respectively.


Input


1)2000


Expected


2200


only 1 testcase is getting fail where its loged in console as NAN. The formula to calculate the final value with appreciation is, finalValue = principal * (1 + time * appreciation / 100).

Final Value with Appreciation:

Given principal amount

principal as an input, time period in years time and appreciation percentage apprPercentage as optional inputs, write a JS function to return the final value finalValue with the given appreciation percentage and time period. The default values for time and apprPercentage are 2 and 5 respectively.

Input

1)2000

Expected

2200





We need all two test cases can be came when code was run. I want exact outputs for all two test cases.Follow the below approach to solve the String Slicing.

Check Whether the input string includes the substring using if condition and includes().

if the input string includes the substring then,

Find the index of the substring in the input string, using the indexof() and store the index in a variable.

slice the input string, using the slice() form index to the length of the input string and store in the variable slicedString.

const slicedString = inputString.slice(index, inputString.length);

if the input string doesn't include the substring then else console the input string.

Input:

Language

air

JavaScript

S

Expected:

Script

input:

Language

air

Expected:

Language



We need all two test cases can be came when code was run. I want exact outputs for all two test cases.Check Whether the input string includes the substring using if condition and includes().

if the input string includes the substring then,

Find the index of the substring in the input string, using the indexof() and store the index in a variable.

slice the input string, using the slice() form index to the length of the input string and store in the variable slicedString.

const slicedString = inputString.slice(index, inputString.length);

if the input string doesn't include the substring then else console the input string.



Sample Input 2

2000


Sample Output 2

2200

write a JS function to return the final value finalValue with the given appreciation percentage and time period. The default values for time and apprPercentage are 2 and 5 respectively.

Quick Tip

The formula to calculate the final value with appreciation is,

finalValue = principal * (1 + time * appreciation / 100)



Come up with a domain name that you would like to register for yourself. Do a

research and find two domain name sellers and compare their prices.

NOTE: you don't need to purchase the domain.

1)First company web address:…….Price……

2)Second company web address:……Price….


Which company will you go for and why:


Come up with a domain name that you would like to register for yourself. Do a

research and find two domain name sellers and compare their prices.

NOTE: you don't need to purchase the domain.

1)First company web address:…….Price……

2)Second company web address:……Price….


Which company will you go for and why:


Create a student Management system using JavaScript, Bootstrap, CSS, and HTML 



Create a web site for your curriculum vitae. You must use a two-column layout and second column must be the navigation bar. 



LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS