#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);
}
Semua yang terjadi dalam kehidupanku ataupun yang ada dalam pikiranku, akan ku tuangkan disini..
Wednesday, 30 November 2011
Trick to finding the factorial
# include <stdio.h>
main ()
{
int x, i, sum = 1;
printf ("Enter value of x:");
scanf ("% d", & x);
for (i = 1; i <= x; i + +)
number = number * i;
printf ("The factorial:% d \ n", sum);
}
main ()
{
int x, i, sum = 1;
printf ("Enter value of x:");
scanf ("% d", & x);
for (i = 1; i <= x; i + +)
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);
}
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:
- 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.).
- 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.
- In the left pane, click the icon Table of Contents, and select (click) the form of table of contents desired.
- The result will be like the image below. Writing Table of content can be changed.
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:
- Press Windows + R then type cmd.
-

- Enter. Command prompt window will appear.
-

- 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.
-

- Type cd rahasia and then press enter.
-

- Type attrib + h + s photo.
-

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.
Thursday, 17 November 2011
Taking care of your battery pack
Here are some ways to take care of your battery pack:
- 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.

- Dispose of used batteries according to local regulations. Recycle if possible.
Subscribe to:
Posts (Atom)