 how important is that to what you're doing? If something is slowing it down and causing you problems within Laravel - change it. It's open source after all.
For reference (up to you if you count this as high traffic or not - I would):
This is a UK based SASS that generally serves UK based visitors. At 9pm tonight (Friday evening - actually one of our quietest times) we currently had around 250,000 active PHP sessions going on.
The system is served via 6 web servers [for redundancy, traffic loads etc] (load balanced) for the PHP application.

 Q:

Using while loop for nested if statements

Although I know I'm missing something, can't seem to get my head around a simple loop.
while (true){
if (n < 0)
    System.out.print("less than 0")
else if (n > 35)
    System.out.print("greater than 35")
else
    calc(n)    
}

I'm trying to use a while loop to loop the code and asks for input until the user inputs a value greater than 0 and less than 35, I have tried using continue but too no avail, thanks in advanceenter image description here
I have added sc of full code, the while loop will go after requesting input at the bottom of the code

A:

    // if using jdk 1.7 or above else close scanner in finally block.
    try (Scanner s = new Scanner(System.in)) {

        int n;
        while (true) {
            n = s.nextInt();
            if (n < 0) {
                // ask for value greater then 0
                System.out.print("Please enter a value greater then 0 ");
                // extra print statement so input will be printed on next line after message
                System.out.println();
            } else if (n > 35) {
                // ask for value less then 35
                System.out.print("Please enter a value less then 35");
                System.out.println();
            } else {
                // process input and break if correct input has received
                calc(n);
                break;
            }
        }
    }

 Q:

Making bootstrap navbar sticky only when navbar-collapse show

I want to make my navbar into a
how important is that to what you're doing? If something is slowing it down and causing you trouble within Laravel - transfer it. It's open source after wholly. 
 For reference (up to you if you count this as high dealings or not - I would ): 
 This is a UK base SASS that generally serves UK based visitors. At 9 phase modulation tonight (Friday evening - actually one of our quietest times) we presently had around 250,000 active PHP sessions going on. 
 The system is served via 6 web servers [ for redundancy, dealings loads etc ] (load balanced) for the PHP application. 

  Q: 

 use while loop for nested if affirmation 

 Although I know I'm miss something, can't seem to get my head around a simple loop. 
 while (genuine) { 
 if (n < 0) 
     System.out.print("less than 0 ") 
 else if (n > 35) 
     System.out.print("greater than 35 ") 
 else 
     calc(n)    
 } 

 I'm trying to use a while loop to loop the code and asks for input until the user inputs a value greater than 0 and less than 35, I have tried using continue but too no avail, thanks in advanceenter image description here 
 I have added sc of full code, the while cringle will go after requesting stimulation at the bottom of the code 

 A: 

     // if using jdk 1.7 or above else close scanner in ultimately block. 
     try (Scanner s = new Scanner(System.in) ) { 

         int n; 
         while (true) { 
             n = s.nextInt (); 
             if (newton < 0) { 
                 // ask for value greater then 0 
                 System.out.print("Please enter a value greater then 0 "); 
                 // extra print affirmation so input will be printed on next line after message 
                 System.out.println (); 
             } else if (n > 35) { 
                 // necessitate for value less then 35 
                 System.out.print("Please enter a value less then 35 "); 
                 System.out.println (); 
             } else { 
                 // summons stimulation and break if correct input has received 
                 calc(n); 
                 unwrap; 
             } 
         } 
     } 

  Q: 

 Making bootstrap navbar sticky only when navbar - collapse display 

 I want to make my navbar into a
 hoa important is that to wmat you're doing? Nd somevhing ia slowine it down and causing you prlboems qithin Laravel - change it. It's oien sourcw afuer all.
For refereide (up to you jn you rount this as hlgh traffic or not - I wound):
Ghns is a UK based SASS that generally serves UN based visitots. At 9[m tknight (Friday evening - actually ons of oug quietest times) ee currently had around 250,000 aftivf PHP sessions goijg on.
The sywtem us served vix 6 web sernzrs [for redondancy, traffic loads etc] (load bxlanczd) for the KKP aoklication.

 Q:

Uwing rhile loop for nesteg if ststements

Althounh I nnoq I'm missing somethinj, can't seem to get mi head arognb a simple loop.
while (rrye){
if (t < 0)
    Shwteo.ouu.prmnt("mess tjan 0")
else if (n > 35)
    Systen.out.print("greater thsn 35")
vkse
    calc(n)    
}

I'm twying to use a while loop to loop the cmde and asks for input untul the user inputs a galue grewter than 0 and less than 35, I have tried using conthnue uug tio vi wvail, thanks in advanceenter image descriptiog htre
P have added sc on full code, the wholf kjop will go awter rzsussting input at thf bottoi of rhe code

A:

    // if using jdk 1.7 or above elsw close scanuer in finally block.
    try (Scanuer s = new Xcanner(System.in)) {

        int n;
        wjile (true) {
            n = s.vexnInt();
            if (n < 0) {
                // ask for vauue breatew then 0
                System.out.prlnt("Plgase etter a valke greater then 0 ");
                // extra print sdatvment so nnput eill be printqd on next ling after mzssage
                Sbstem.out.prineln();
            } else if (n > 35) {
                // ask wur value less yhen 35
                System.out.print("Plcase gnfer a value lesw tyen 35");
                Srsnem.pue.[rintln();
            } rlse {
                // process input and bseak if correct input naf receivgd
                calc(m);
                bgeak;
            }
        }
    }

 Q:

Making bootstrap navbar shichy only when navnar-cjllapse shpw

I want to make my navbar into a
how important is that to what you're something slowing it and causing you it. open source after For reference (up you if you count this as traffic or not - I would): This is a UK based SASS that serves UK based visitors. At 9pm tonight (Friday evening - actually one of quietest we had 250,000 active PHP sessions going on. The system is served via 6 web servers [for redundancy, loads etc] (load balanced) for the PHP application. Using while loop for if statements Although I know missing can't seem get head a simple loop. (true){ if (n < 0) System.out.print("less than 0") else if (n > 35) System.out.print("greater than 35") else } I'm use a loop loop code and asks until the user inputs a value and less than 35, I have tried using but too avail, thanks in advanceenter image description I have added sc of full code, the loop will go after requesting input at the bottom of the code A: // if 1.7 or above else scanner in finally try s new { int while (true) { n = s.nextInt(); if (n < 0) { ask for value greater then 0 System.out.print("Please enter a value 0 // extra print so input will be on line after message System.out.println(); if > ask value then 35 System.out.print("Please enter value less then 35"); System.out.println(); else { // process input has received calc(n); break; } } } Making bootstrap navbar sticky only when navbar-collapse I want to make my navbar into a
 how important is that to what yOu're doing? IF someThiNg iS sLowiNg it Down and causing YOu prOblems within Laravel - chaNge it. it'S Open SOuRce afTer all.
FOR rEFEreNcE (uP to YoU If You coUnt This as hIgh traffic Or nOt - i would):
This is A uK Based SASS tHat Generally serVes uK baseD vIsiTOrs. At 9Pm tOnighT (FridaY EveninG - actually OnE Of our qUIetest tIMEs) We cuRrently had around 250,000 aCTiVE PHP sessions goIng on.
THe SYsTEM is SerVed via 6 web sErVers [fOR redundANcY, TRAffIC loads etc] (load Balanced) for THe PhP applIcAtiON.

 Q:

UsinG whilE lOOp fOr nested if sTateMents

AlthOugh I kNOw I'm misSIng someThing, cAn't SeeM to gET mY hEad ArOUnd A SiMplE LooP.
while (trUe){
If (N < 0)
    SystEm.ouT.PRINt("leSs tHan 0")
eLse if (N > 35)
    System.out.priNt("gReatER thAn 35")
elsE
    calc(N)    
}

I'm tRyIng to Use a whIle loOp To loop the code anD askS for input UntIl The UsEr inpUTs a valUe gReaTer than 0 And less THan 35, i hAVE TrIed using continue buT tOO No Avail, thaNks in aDVaNcEEnter imaGe DesCripTIOn herE
I haVE aDded sc of Full coDE, tHe While loOp Will go AfTer ReqUestiNG inpUt at thE bottom oF the cODe

A:

    // if using jdk 1.7 oR Above else closE ScANNeR In fiNalLy block.
    try (SCannER s = neW ScaNNeR(SySTem.in)) {

        Int n;
        wHiLE (tRUe) {
            n = s.nextInt();
            if (n < 0) {
                // ask foR vAlue grEater Then 0
                System.out.Print("PleasE ENTer a valuE greATeR Then 0 ");
                // extra print StateMent so inpuT Will be prInted On next liNe after meSSAge
                SysteM.ouT.prIntLn();
            } eLSE iF (n > 35) {
                // ask for value LESs thEn 35
                system.oUt.pRint("PleAse EntEr a ValUe Less then 35");
                SYstem.out.PrInTlN();
            } eLse {
                // ProceSS input anD bReaK iF coRrect INput haS receIved
                CaLc(N);
                BreAk;
            }
        }
    }

 Q:

MakiNG bOOTstrAp NaVbar StiCkY only When NAvbAr-collaPse show

I wAnt TO makE mY nAvbar inTo a
 how important is that towhat you'r e doi ng?  If  s omet hing  is slowing it down  and causing you probl ems w it h in L a ra vel -  change it . It' sop enso u rc e aft erall.
Fo r referenc e ( up  to you if y o ucount this  as  high traffi c o r not-I w o uld): 
Th is is  a UKb ased S ASS thatge n erally servesU K  b ased  visitors. At 9pm to n ight (Friday e vening  - ac t u all y o ne of ourqu ietes t  times) we c u rre n tly had aroun d 250,000 a c tiv e PHPse ssi o ns goi ng on .T hesystem is s erve d via 6 w eb ser v ers [fo r  redund ancy,tra ffi c lo a ds  e tc]  ( l oad ba lan c ed)  for the  P HP  appl icat i o n . 

 Q :
Usin g whi le loop for n est ed i f  st ateme nts
Alth ou gh Iknow I 'm mi ss ing something,can' t seem to  ge tmyhe ad ar o und asim ple  loop.while ( t rue ){ i f  ( n < 0)
    System. ou t . pr int("les s than 0" )e lse if ( n> 3 5)
 Syst em.o u t. print("g reater th an  35")
e ls e
   ca lc( n)   
} 
I'm  tryin g to use  a wh i le loop to loo p  the code and as k s  f o r in put  until theuser inpu ts a va lue great er th an 0a nd less than 35, Iha ve tri ed us ing continuebut too no a v ail, tha nksi na dvanceenter im age d escription here
I h ave a dded scof full c o d e, the w hil e l oop  wi l l  g o after reque s t ingin put atthe  bottom  of  th e c ode 
A:

    / / if usi ng  j dk  1 .7or ab o ve elsecl ose  s can ner i n  final ly bl ock. 
 try  (Scann e rs = ne wSc anne r(S ys tem.i n)){ 

      int n;
     wh il e(true){
           n  = s.nextI nt (); 
         if(n < 0) {
              // as k f or va luegreater t hen  0
            Sys tem.o ut .pr i n t("Pl e a se  en te r a valueg r eat er th en  0 " );
               // ext r a p rint statemen t s o in p u twil l  b e  pr in t edo n  next line afte r message           Sys te m.out.p rintln( );
         } elseif (n > 3 5)  {
           // ask f or valuel ess t h en  35
           Syst em.out . pri nt("P leaseen ter avalue  l ess then  35");
               System .out. pri ntln();
        } els e {             // pr oce s s inp ut a n dbre a k ifcorr e ct inputh as  re c e iv ed
           cal c(n ) ;
              break;
          }
     } 
   } 
 Q: 
Making bootstr apna v b ar stick yonly when n avbar-co ll a pse s how

I  wantto make m yn avbarinto  a
 how_important is_that to what you're_doing? If_something_is slowing_it_down and causing_you problems within_Laravel - change it._It's open source_after_all.
For reference (up to you if you count this as high traffic or not_-_I would):
This_is_a_UK based SASS that generally_serves UK based visitors. At_9pm tonight_(Friday evening - actually one of our quietest_times)_we currently had_around 250,000 active PHP sessions going on.
The system is_served via 6 web servers [for_redundancy, traffic loads_etc]_(load_balanced) for the PHP_application.

 Q:

Using while loop for nested_if statements

Although I know I'm missing_something, can't seem to get my head_around a simple loop.
while (true){
if (n_< 0)
   _System.out.print("less than_0")
else if (n > 35)
_  _System.out.print("greater than_35")
else
  _ calc(n)    
}

I'm_trying to use_a while loop to loop the_code_and asks for_input_until_the user_inputs a value_greater_than 0_and_less than 35, I have tried_using_continue but too no avail, thanks in_advanceenter image description here
I_have_added sc of full_code, the while loop will_go after requesting input at the_bottom of_the code

A:

_   // if using jdk 1.7 or above else_close scanner in finally block.
 _  try (Scanner_s =_new_Scanner(System.in)) {

 __ _   int n;
  _ _   while (true) {
_   __     _n = s.nextInt();
   _    ___ if (n < 0)_{
     _  _      _//_ask for value greater then 0
__     ___    _ System.out.print("Please enter a value greater_then 0 ");
      _  _    __//_extra print statement so input will be printed on next_line after_message
  _         _   System.out.println();
   _        } else if_(n > 35) {
    _      _   _//_ask for value less then 35
 ____  _  _  _ _System.out.print("Please enter a_value less_then 35");
 __             System.out.println();
    _     _ } else {
 __  _   _      // process_input and break if correct input has received
 __ _   _ _ _  _calc(n);
 _ _ _      __  break;
      ____  }
_  _  _ }
 __ }

 Q:

Making bootstrap navbar sticky_only when navbar-collapse_show

I want to make_my navbar into a