ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 19 May 2017 My Price 8.00

TODO Auto-generated method stub

System.out.println(" nn for-loop exercise:  ");

// TODO Auto-generated method stub

                // To Calculate leap years that particular year must be divisible by 4,

                // and if its a century year like 1800,1900,2000, it must be divisible by 400

               

                // we need to calculate the leap years from 2016 to 3000 and are divisible by 27 hence we use a for loop to navigate through the years

                int i;

                int ;// set a counter to calculate the no of

                for (//?)

                {

                           

                            if (//?)

                            {

                                       

                                       

                                       

                                                    System.out.println("The leap year: " +i+" is divisible by 27");

                                                   

                           

                                        //count= ?;

                            }

                           

                           

                           

                }

               

                System.out.println("The Total Number of leap years between 2016 and 3000 that are divisible by 27 are: "+count);

i dont understand this homework. please help

Answers

(11)
Status NEW Posted 19 May 2017 02:05 AM My Price 8.00

-----------

Not Rated(0)