answersLogoWhite

0

When do you use the nested if?

Updated: 10/24/2022
User Avatar

Wiki User

14y ago

Best Answer

we use "nested if" if we have to test a large number of possibilities and trials i an if statement.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: When do you use the nested if?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about General History

What is the origin of the surname Crawford?

The proud and noble Scottish surname Crawford was first bestowed persons living near a river crossing where crows nested. It is to be found in the records of Lanarkshire, where they'd lived, as early as the 11th century. Family motto: "I will make thee safe by my strength"


Where in the marshall islands was the the first h-bomb test?

The first true H-bomb device tested was Ivy Mike on the island of Eugelab in Eniwetok Atoll in 1952. Mike was a steel can 80 feet tall and 20 feet in diameter containing 3 nested steel thermos bottles to hold the liquid deuterium-tritium mixture. When it went off the island of Eugelab ceased to exist.


Was Tut's coffin pure gold?

No, Tutankhamun's coffin was not made of pure gold. The outermost coffin, known as the innermost coffin, was made of wood but covered in gold foil. The layer of gold leaf was so thin that it had to be reinforced with plaster in some areas.


What kitchens where like in the 1940's?

They were generally big enough for a large table, and there was less counter space then there is today.The stove and range were always free standing not nested in between cabinetsand they were nearly always gas fired, most had a chimney.Cabinets were built in place so the interiors were open from one end to the other.Counter tops were frequently made of linoleum with a metal edge.There were very few electrical outlets (as there were very few electric kitchen appliances)


What is proper use of has and had?

To me if you know how the use the words properly then use them.

Related questions

Can you use nested printf?

printf ("nested printf returned %d\n", printf ("inner printf\n"));


How do you use nested for loop on the image in matlab?

Please ask clearly what you want to do with the image and explain why a nested for-loop is necessary.


When do You use a nested selection structure?

you need nothing


What is nested logic?

In Nested Logic a Logic is contained within a Logic. If the Outer Logic is TRUE then the internal Logic is executed. Nested IF, Nested For, Nested While, e.t.c are some examples of Nested Logic in Modern Computer Languages.


When was Nested created?

Nested was created in 1977.


Why not to use nested for loops 3 times?

You never want to use nested loops if you can avoid it. Each additional level of loop you add increases the work done by your program exponentially. There are certain cases where this is unavoidable, of course. For example, iterating over objects in 2D or 3D space can require many levels of nested loops.


Use nested loops to create pyramid of letters?

a pyramid with letters java application


What are examples of nested solids?

three examples of nested solids


Is have nested present past future?

"Have nested" is in the present perfect tense.


What is the if statement that appears inside another if statement?

nested if Statement


Why you use inner loop and outer loop?

Sometimes you have to use nested loops, in this case one of them is the outer, the other is the inner.


Can css comments be nested?

No, the CSS specifications explicitly state that CSS comments cannot be nested. If you try to do this, then your nested comments closing delimiter */ will close out the larger comment and anything after it will be rendered by the web browser. When comments are nested, the nested comment's beginning delimiter /* is ignored yet the closing */ is not.