What is significance of 1st January 1960 in SAS? Ans. SAS stores everything in form of numbers and considers 1-1-1960 as base date Less
There are two ways of doing quantitative estimates to problems like "how many bricks in the Great Wall" or "how many tennis balls in the United States?". In this case, let's use cars in a particular city.
1. Top-down. Take the population of the city. Countries and/or states often have car ownership records, whoever is the registration authority. In the US, you would use the State DMV, but the US Dept. of Transportation also has that. You would then apply a ratio to the population of the city. You would then adjust the resulting number by demographics. Compare the cities demographics compared to the "average city" in the city/state. For example, cities tend to have younger, richer population. There may be other factors like the antiquated road infrastructure (e.g. Rome), extremely high cost of living/car ownership (e.g. New York City) or car taxes (e.g. Singapore).
2. Bottoms-up. Sometimes you can collect the data manually. Usually, this type of estimate works only were data integrity is good and available. Also, you usually have to do a reality check against a top-down guesstimate anyways. Less
public static void main(String args)
System.out.println("Enter an integer to check if it is odd or even ");
Scanner in = new Scanner(System.in);
x = in.nextInt();
if ( x % 2 == 0 )
System.out.println("You entered an even number.");
System.out.println("You entered an odd number.");