Write a program which inputs 2 integers representing the
sides of a triangle, a
and b. Next, write a function which accepts the 2 sides as
parameters and
returns the hypotenuse of the triangle, c.
Use
c
2
= a
2
+ b
2
To raise a number to an exponent, us
e the built
-
in JavaScript function
Math.pow()
Let’s say you have a variable x and you want to raise it to
the 5
th
power, use
Math.pow in the following manner...
Math.pow(
x,
5
);
This will raise x to the 5
th
power.
To find the square root of a number, use t
he built
-
in JavaScript function
Math.sqrt
()
So to find the square root of x, use Math.pow
()
in the following manner...
Math.sqrt(
x
)
You must create 2 functions to
receive
credit for this assignment. Your
‘
main
’
function which is called from the button. And your
hypotenuse function.
Again, the main function calls upon the hypotenuse f
unction when it needs that
value. Get the user
’
s input, call the function, output your result.
Create your own CSS layout
Is anyone has done the ASP.NET MVC4 workshop course(2 days)
from Peers Technologies. Let me know. I need to talk before
joining ASP.NET MVC4 training at peers, Hyderabad.
A good website has the following conditions
It should be interactive.
It should contain at least 20 images.
Title cannot be null and should contain at least 10 letters
other than spaces and hyphen (-).
The keywords should contain atleast three among the
following list : "design", "Graphics", "lovely",
"beautiful", "amazing" and "mesmerising"
Write a method:
boolean isGoodWebsite(boolean isInteractive, int
numOfImages, String title,String keywords[])
isInteractive whether the site is interactive or not
numOfImages Number of images on the website
title Title of the website
keywords Array of keywords in the website.
THERE ARE 4 SOURCE FILES WHICH CONTAINS SAME METADATA CREATE A
TARGET THAT SHOULD DISPLAY THE FILE NAME ALONG WITH THE RECORD
PLEASE SEND THE ANSWERFOR THIS QUESTION WITH MAPPING
It is possible to take number of controls added to form at
run-time.ex-when user enter 6, 6 text boxes get added to
form,next time number of controls get change as per user
number enter. What is code for that?
Hi all...
I had completed MSC(Computer) and had join the construction
company based on sap.they want me to work on abap.but
software company is totally different from construction
company and they want me 2 grasp it as fast i can.i am
finding it difficult.what should i do??????
93
How to use string functions in QTP?give some examples
1761
What are two of your strengths that you will bring to
our QA/testing team?
177
what is difference between kpo and it industry?
that is in terms of work, package etc
241
how to work search engine? plz detail answer me.
141
What is ur porject Architecture? If anyone ask what i have
to specify here..
166
What is WEB 3.0?
What are the features their in WEB3.0
Difference of Console, web & windows applications?
141
Do not use more than 3 nested IF. Use Evaluate statement in
case of more IF required. Please give a detail explantion
besides readability and clarity for Evaluate stmt.