Sunday, December 7, 2008

Код пятой задачи из практикума

// инклуды написал без <> так как на этом блоге почему то они криво отображаются, но не в них суть..
#include stdio
#include iostream
#include сonio
#include math
#include iomanip

using namespace std;

int main() {
int mas[50];

int size = 0, res = 1,i;

cout << " Vvedite razmernost' massiva: "; cin >> size;

cout << i =" 0;">> mas[50];


switch(size) {

case 2: for(int i = 0; i < size; i++) {
mas[i] = rand() % 100 - 50;


cout << endl << " Isxodnyj massiv: " << endl << endl;

for(int i = 0; i < size; i++)
cout << " " << mas[i] << setw(3);

cout << endl;

for(int i = 0; i < size; i++)
if ((mas[i] % 2) == 0)
res *= mas[i];

cout << endl <<" Proizvedenie vsex chyotnyx elementov: " << res << endl << endl;
getch ();
return 0;

Monday, March 17, 2008

A computerized restaurant in Nuremberg

In Nuremberg (Germany) has opened a new restaurant, the only one of its kind in the world!  The Whole extraodinary nature of this restaurant in that that he completely computerized and in him no nor one waiter.. At each table is a touch screen, through which customers choose their own drinks, meals, etc. Besides, orders received for the main server-cook "They are processed and customers see how much time they have to expect the order. 

Strangely enough, these cooks preparing food, not robots ... Until such technology is not yet come ... so far. But instead of waiters clients receive orders at the tables on spiral rails on which "comes" food and beverage!

Eiffel Tower - a few facts

Eiffel Tower was built on March 30, 1889 for the centennial of the French Revolution to World Exposition in Paris. 

Created by its French engineer Alexandre Eiffel. It ranked first among the 700 projects that were presented at the contest. Go to the basement took a year and a half, and the construction of the tower itself 8 months. Do tower in 1931 was highest in the world Construction of 313 meters from the flagpole. 

In the tower there are 3 platform (at an altitude of 58, 115 and 300.65 meters), and several sites. Now the height of the tower is 326.75 meters, at the very top there is a viewing platform, Review here within a radius of 90 kilometers. Parisians were immediately against this architectural works. They felt that the Eiffel Tower spoils the beauty of Paris. A writer Guy de Maupassant called the tower "skeleton", but still went to the restaurant to dine, which lie in it. He told me that this is the only place in Paris where it is not visible. 

Art masters said: "In the name of true taste, in the name of art history in the name of France, are now threatened, we - writers, painters, sculptors, architects, passionate fans still impeccable beauty of Paris, with deep indignation in protest against the construction the very heart of our capital useless and monstrous Eiffel Tower. " 
Upon the expiry of years had become a symbol of the Eiffel Tower in Paris and to see its people come from all over the world.

Top airline baggage losses

Virtually all travel begins with the airport. Many already know that the registration procedure, planting, etc ;). I would like to elaborate on details such an insignificant point as baggage. 

There are nothing new, unfortunately, such notions as "lost baggage". Even with popular stars and celebrities sometimes lost luggage or flies away to another place. 

So now invite you to look at the top airline baggage loss. Counted all airlines, members of the Association of European Airlines (AEA). 

TOP-10 European Airways for lost luggage (number/1000 passengers):
British Airways - 23
TAP Air Portugal - 21
Lufthansa - 18.1
Air France - 16.6
Alitalia -16.5
KLM - 16.4
Luxair - 16.4
Iberia - 15.5
LOT Polish Airlines - 14.8
Finnair - 14.2