Computer Systems and Programming Spring Semester: 2010-2011 January 20‚ 2011 1. Write a program program in C++ to find the square of the numbers from 1 to 10 using : (a) for loop (b) while loop (c) do-while loop The output of the program should be in the following format: Number Square ……… ……… 2. Write a program in C++ that calculates the value of π from the infinite series [pic] Print a table that shows the value of π approximately
Premium Integer Real number Natural number
Every individual has responsibility to use natural resources judiciously. This will give equal opportunity to all to use the resources for the benefit of mankind. One should not be selfish to spend the available resources without thinking of other fellow beings. There is no limit to spend natural resources if available plenty but at the same time one should realize that natural resources are non-renewable sources. The future also depends on such resources. Every individual should think himself or
Premium Biodiversity Ecology Natural environment
Natural Disasters With the tropical climate and unstable landforms‚ coupled with high population density‚ poverty‚ illiteracy and lack of adequate infrastructure‚ India is one of the most vulnerable developing countries to suffer very often from various Natural Disasters‚ viz. flood‚ cyclone‚ earthquake‚forest fire‚ drought‚ etc. Asia tops the list of casualties due to natural disasters. Space technology plays a crucial role in efficient mitigation of disasters. Communication satellite provides
Premium Emergency management
NATURAL DESIGNS‚ INC. What types of decisions must Jim McMaster make on a daily basis for Natural Designs to run smoothly? What kind of decisions must he make on a long-term basis? {draw:frame} LONG RANGE DECISIONS Satisfying the customer begins with product and service design. The various activities involved are: {text:list-item} {text:list-item} {text:list-item} {text:list-item} {text:list-item} {text:list-item} {text:list-item} Long term capacity
Premium Term Decision making Design
Natural Disasters are presented to us in various forms. Earthquakes‚ tsunamis‚ hurricanes‚ volcano eruptions and tornados have been the causes of many devastating events seen throughout history. Preparation is needed to increase the chances of overcoming the destruction of a natural disaster. but unfortunately‚ some disasters may occur without warning and often increase havoc in more ways than one. Effects on The Economy • Hurricanes and earthquakes can pose a threat to gas prices by damaging
Premium Psychological trauma Posttraumatic stress disorder Infection
We have a personal responsibility to the natural world to take care of our natural resources. If our natural resources fail‚ we will in turn have failed our decedents by leaving behind a life that is harder to live. Imagine that water is limited to the point that there is only one source on the planet. Imagine that the air is full of pollutants because trees are almost extinct. What kind of future do we want to leave our kids‚ grandkids‚ and great grandkids? The future of our fresh water supply
Premium Water resources Resource Natural resource
individuals environment‚ natural environment or built environment. Individuals Environment:- It refers to a persons environment which comprises of people‚ physical things‚ places & events that the person lives with. The environment affects the growth & development of the person. It affects the person’s behavior. It affects the persons body & mind. Natural environment: - It refers to all of the natural materials and living things‚ including sunlight. It is made up of renewable natural resources like
Premium Natural environment Natural resource Ecology
14th‚ May‚ 2013 ESSAY (Question n°4) For decades‚ humans use natural resources for their development. Today‚ we pay for this exploitation. Human lifestyle are responsible of many effects on environment: global warming‚ climate change‚ depletion of Ozone layer‚ deforestation‚ pollution‚ extinction of species…
Premium Natural environment Global warming Ozone depletion
Introduction Natural disasters are extreme‚ sudden events caused by environmental factors. They can happen at any time‚ often with little or no warning and they can cause serious injury to people and property. Earthquakes‚ tornadoes‚ wind storms‚ floods‚ tsunamis‚ wild fires‚ hurricanes‚ and heat waves often strike with little or no warning. People who are prepared for such an event have a better chance of survival. Preparation ensures that if disaster occurs people are ready to get through
Premium Tsunami 2004 Indian Ocean earthquake Earthquake
However‚ we never considered the permanence of a variable or its scope i.e. the portion of the program where the variable is valid or recognized. All these factors are considered with storage classes. In C‚ variables differ in behavior from those in most of the other languages. A variable in C can have anyone of the four storage classes: 1. Automatic Storage class 2. External Storage class 3. Static Storage class 4. Register Storage class There are many ways in which a storage class
Premium Variable