Look at the section:
1. Globle scope Variable,
2. Local scope Variable.
When u r defining these in this page, the heading for Local scope Variable. is wrongly written as Globle scope Variable,
This looks like:
1.Globle scope Variable:- A variable declared or initialized outside a function body has a global scope, making it accessible to all other statements within the same document.
2. Globle scope Variable:- A variable declared or initialized within a function body has a local scope, making it accessible only to statements within the same function body.
For both the heading/title is same.
i see your [http://www.roseindia.net/javascript/variables-data-types.shtml]site..and i noticed that a your developer do a little mistake and that is [*Variable Scope
There are two types of Variable scope:-
1. Globle scope Variable,
2 . Local scope Variable.
1.Globle scope Variable:- A variable declared or initialized outside a function body has a global scope, making it accessible to all other statements within the same document.
2. Globle scope Variable:- A variable declared or initialized within a function body has a local scope, making it accessible only to statements within the same function body.
[*]
please solve that
thank you...........
javascriptVeeranjaneyulu January 6, 2012 at 12:06 PM
Their is a small small mistakes in the content of JavaScript please verify and put the correct data.
Variable declarations section:
1. Declare a variable that holds the income amount entered by the user.
2. Declare a variable that holds the minimum income that will not be charged taxes.
3. Declare a variable that holds the tax percentage for tax bracket 1.
4. Declare a variable that holds the tax percentage for tax bracket 2.
5. Declare a variable that holds the highest income for tax bracket 1.
6. Declare a variable that holds the highest income for tax bracket 2.
7. Assign $1500 as the highest income amount that will not be charged taxes.
8. Assign the highest income for tax bracket 1 to be $25K and the tax percent to 15%. Anything over $25K is in the next tax bracket.
9. Assign the highest income for tax bracket 2 to be $40K and the tax percent to 20%. Anything over $40K is in the next tax bracket.
10. Ask the user to enter a dollar amount.
11. Convert the data entered into a number.
Logic and Output section:
12. Use only variables in your logic.
13. Determine whether or not the dollar amount entered is taxable.
14. Determine whether or not the dollar amount is in tax bracket 1 or 2.
15. Calculate the amount of tax on the dollar amount and display a message that tells the user what the tax amount would be on the number they entered.
16. For amounts greater than $40k display the message ?I do not have the data to calculate the tax on this income.
java languagepuspendra tiwari April 13, 2012 at 7:11 AM
what is document.write()and what is means
hiiiHave a good name for it? Enter Here June 28, 2012 at 3:30 PM
What does the following sencence in your post mean?
"Variable names cannot contain spaces, begin with a number and can not be used the underscore (_) ."
mistakeSANDEEP PANDITA May 30, 2011 at 3:43 PM
Look at the section: 1. Globle scope Variable, 2. Local scope Variable. When u r defining these in this page, the heading for Local scope Variable. is wrongly written as Globle scope Variable, This looks like: 1.Globle scope Variable:- A variable declared or initialized outside a function body has a global scope, making it accessible to all other statements within the same document. 2. Globle scope Variable:- A variable declared or initialized within a function body has a local scope, making it accessible only to statements within the same function body. For both the heading/title is same.
look..Anirban dutta November 9, 2011 at 6:36 PM
i see your [http://www.roseindia.net/javascript/variables-data-types.shtml]site..and i noticed that a your developer do a little mistake and that is [*Variable Scope There are two types of Variable scope:- 1. Globle scope Variable, 2 . Local scope Variable. 1.Globle scope Variable:- A variable declared or initialized outside a function body has a global scope, making it accessible to all other statements within the same document. 2. Globle scope Variable:- A variable declared or initialized within a function body has a local scope, making it accessible only to statements within the same function body. [*] please solve that thank you...........
javascriptVeeranjaneyulu January 6, 2012 at 12:06 PM
Their is a small small mistakes in the content of JavaScript please verify and put the correct data.
javascriptvenkatreddy February 7, 2012 at 8:51 AM
in javascript tutorial mistake... in the variable scope side headings is wrongly placed for local variable scope.......
How to put this into variablesMichael Boyd February 14, 2012 at 9:13 PM
Variable declarations section: 1. Declare a variable that holds the income amount entered by the user. 2. Declare a variable that holds the minimum income that will not be charged taxes. 3. Declare a variable that holds the tax percentage for tax bracket 1. 4. Declare a variable that holds the tax percentage for tax bracket 2. 5. Declare a variable that holds the highest income for tax bracket 1. 6. Declare a variable that holds the highest income for tax bracket 2.
Write comment about these coding sectionsMichael Boyd February 14, 2012 at 9:15 PM
7. Assign $1500 as the highest income amount that will not be charged taxes. 8. Assign the highest income for tax bracket 1 to be $25K and the tax percent to 15%. Anything over $25K is in the next tax bracket. 9. Assign the highest income for tax bracket 2 to be $40K and the tax percent to 20%. Anything over $40K is in the next tax bracket. 10. Ask the user to enter a dollar amount. 11. Convert the data entered into a number.
How to put this in logic and outputMichael Boyd February 14, 2012 at 9:19 PM
Logic and Output section: 12. Use only variables in your logic. 13. Determine whether or not the dollar amount entered is taxable. 14. Determine whether or not the dollar amount is in tax bracket 1 or 2. 15. Calculate the amount of tax on the dollar amount and display a message that tells the user what the tax amount would be on the number they entered. 16. For amounts greater than $40k display the message ?I do not have the data to calculate the tax on this income.
java languagepuspendra tiwari April 13, 2012 at 7:11 AM
what is document.write()and what is means
hiiiHave a good name for it? Enter Here June 28, 2012 at 3:30 PM
hello
What are u talking about?Siphiwe July 10, 2012 at 9:50 AM
What does the following sencence in your post mean? "Variable names cannot contain spaces, begin with a number and can not be used the underscore (_) ."
Post your Comment