Wednesday, 30 November 2011

Trick to find the largest value

#include<stdio.h>
main () 
      
     int a [4], i, great;       
     printf ("Separate each element with spaces \ n");       
     printf ("Enter the 4 elements to the array:");       
     for (i = 0; i <4; i + +)       
     scanf ("% d", & a [i]);       
     large = a [0];       
     for (i = 1; i <4; i + +)      
     {           
          if (large <a [i])           
          large = a [i];      
     }      
     printf ("Biggest element:% d \ n", major); 
}

Trick to finding the factorial


# include <stdio.h>
main ()
{
      int xisum = 1;
      printf ("Enter value of x:");
      scanf ("d", & x);
      for (= 1; i <xi + +)
              number = number * i;
      printf ("The factorial:% d \ n", sum);
}

Trick for Convert lowercase to uppercase

# include <stdio.h>
main ()
{
      char word [20], character;
      int x = 0;
      printf ("Enter a word in lowercase:");
      scanf ("% s", & word);
      while (word [x]! = '\ 0')
      {
            character = words [x];
            if (character> = 'a' & & character <= 'z')
            {
                 character = character-32;
                 word [x] = character;
            }
           x + +;
       }
       printf ("Change to Uppercase:% s \ n", word);
}

Tips for Creating a Table of Contents Automated

Although often done, much remains to create a table of contents manually. In fact, sinceMicrosoft Office 2003, the facility to make it automatic has been refined and easier to use. This time I will try to create a table of contents and a list of pictures automatically inWord 2007 Mirosoft. Do not need any special skills or computer courses, we use the facilities immediately visible in front of us.
How to create an automatic table of contents as follows:
  1. Chapter or section title block which will be listed in the table of contents. Then, determine the headings for each chapter or section. Sequence heading indicates hierarchy in the list of contents (title of a chapter heading, section heading 2,sub-section heading 3, etc.).
  2. image
  3. After all is finished, place the cursor on the page for a list of contents (in the document the same). Then, click the References tab.
  4. image
  5. In the left pane, click the icon Table of Contents, and select (click) the form of table of contents desired.
  6. image
  7. The result will be like the image below. Writing Table of content can be changed.
  8. image

Tips for Hiding files

If you have a top secret folder, the folder should be hidden. There is one way to make the folder hidden. Although the switch show hidden files, still will not be visible.
The trick as follows:
  1. Press Windows + R then type cmd.
  2. image
  3. Enter. Command prompt window will appear.
  4. image
  5. Go to the folder that will be hidden. In this example, I will hide a folder of photos that are in D: / rahasia. Type D: and then enter.
  6. image
  7. Type cd rahasia and then press enter.
  8. image
  9. Type attrib + h + s photo.
  10. image
Now, the folder disappeared.

Monday, 21 November 2011

Tips for enable the Registry Editor

Your computer might have contracted the virus eagle. One of its activities is
disable the registry, so the registry editor could not be opened.

  1. To enable very easy. Clean virus from the first
    computer, then type the following command in notepad.
  2. image
  3. Save with akstensi. Vbs (this example, I save with the name
    enable_registry.vbs).
  4. If successful, run the file.
  5. image
  6. Click Yes, if you want to re-enable the registry editor.

Thursday, 17 November 2011

Taking care of your battery pack

Here are some ways to take care of your battery pack:battery
  • Use only batteries of the same kind as replacements. Turn the power off
    before removing or replacing batteries.
  • Do not tamper with batteries. Keep them away from children. BoyGirl
  • Dispose of used batteries according to local regulations. Recycle if possible.

Taking care of your laptop

Your computer will serve you well if you take care of it.
Technorati Tags: ,,
laptop
  • Do not expose the computer to direct sunlight. Do not place it near sources of heat, such as a radiator.
  • Do not expose the computer to temperatures below 0º C (32º F) or above 50º C (122º F).
  • Do not subject the computer to magnetic fields.
  • Do not expose the computer to rain or moisture.
  • Do not spill water or any liquid on the computer.
  • Do not subject the computer to heavy shock or vibration.
  • Do not expose the computer to dust or dirt.
  • Never place objects on top of the computer.
  • Do not slam the computer display when you close it.
  • Never place the computer on uneven surfaces.

Taking care of your AC adapter

Here are some ways to take care of your AC adapter:
  • Do not connect the adapter to any other device.
  • Do not step on the power cord or place heavy objects on top of it.
  • Carefully route the power cord and any cables away from foot traffic.
  • When unplugging the power cord, do not pull on the cord itself but pull
    on the plug.
  • The total ampere ratings of the equipment plugged in should not exceed
    the ampere rating of the cord if you are using an extension cord. Also, the
    total current rating of all equipment plugged into a single wall outlet
    should not exceed the fuse rating.

Thursday, 3 November 2011

Tips on treating Athlete's Foot (Dermatophytosis)

Athlete's foot is a speck on the skin characterized by small bubbles that itch, along with broken or sores on the feet and hands, especially in the crevices of the finger.
Treatment with medicinal plants
1. Soak feet with boiling water Tinospora Rumphii Boerl
  • Tinospora Rumphii Boerl chopped stems (30 cm) and boil in 5 cups of water for 15 minutes 
  • Soak the foot of the infection leaves boiled in water for 15 minutes or how long it can hold. While the feet soak, rub Selah toes with a cotton swab, remove dead skin prick bubbles and water. Soak 10 minutes after the dead skin removed. Soak the feet 2 times a day for severe infections or at least once a day.
2. Leaves of Cassia alata L.
  • chopped young leaves and squeeze the juice.
  • Put the juice directly on Selah Selah-toes and other areas with an infection after a foot soak with hot water (water Tinospora Rumphii Boerl).
3. Using Leaf Ocimum basilicum L.
  • chopped leaves and take the juice
  • Put juice directly on the part of the infection after soaking it in water Tinospora Rumphii Boerl warm.
4. Using Cassia fistula L.
  • Pound the young leaves, then take the juice.
  • Put on the part of the infection after soaking it in water Tinospora Rumphii Boerl.
5. Allium sativum Linn, for the itching.
  • Peel the beans and chopped Allium sativum Linn.
  • Rub the itchy parts, 2 times a day.

Tips for treating asthma

Asthma is a disease of the respiratory tract. The symptoms are feeling of tightness in the chest, shortness of breath, wheezing and coughing.
Treatment with medicinal plants
1.  Using acid bark (Tamarindus indica L.)
  • chopped and boiled piece of bark in 3 cups water for 10 minutes 
  • Adults: 1 bowl after each meal and before bed. 
  • Children: ½ cup, 4 times daily (after meals and before bed).
  • Babies: 2 tablespoons, four times daily (after meals and before bed).
2.   Spinach leaves and flower spikes (Amaranthus spinosus L.)
  •   Boil 5 young stems are chopped spinach spiked with flowers and leaves in 5 glasses of water for 10 minutes.
  • Adults: 1 Bowl, 4 times a day.
  • Children: ½ cup, 4 times a day. 
  • Babies: 2 tablespoons, four times a day.