Selasa, 17 April 2012
fungsi yang menentukan nilai terbesar dari 2 bilangan bulat
flowchart

programnya
#include <iostream>
#include <string>
using namespace std;
int main()
{
string raptor_prompt_variable_zzyz;
int a;
int b;
raptor_prompt_variable_zzyz ="masukan nilai a";
cout << raptor_prompt_variable_zzyz << endl;
cin >> a;
raptor_prompt_variable_zzyz ="masukan nilai b";
cout << raptor_prompt_variable_zzyz << endl;
cin >> b;
if (a>b)
{
cout << "nilai terbesar adalah "<<a << endl; }
else
{
cout << "nilai terbesar adalah "<<b << endl; }
system ("pause");
return 0;
}

programnya
#include <iostream>
#include <string>
using namespace std;
int main()
{
string raptor_prompt_variable_zzyz;
int a;
int b;
raptor_prompt_variable_zzyz ="masukan nilai a";
cout << raptor_prompt_variable_zzyz << endl;
cin >> a;
raptor_prompt_variable_zzyz ="masukan nilai b";
cout << raptor_prompt_variable_zzyz << endl;
cin >> b;
if (a>b)
{
cout << "nilai terbesar adalah "<<a << endl; }
else
{
cout << "nilai terbesar adalah "<<b << endl; }
system ("pause");
return 0;
}
Minggu, 15 April 2012
Refleksi Alpro pertemuan ke-6
in reflection of this meeting to six times its news late really. but not a problem, always post ..
ok we start ..
this meeting really exciting. we first discuss the matter Alpro. understood less as usual. and there is a different, usually empty my notes. but with a written explanation from the lecturer's first record Alpro begins .. Hhahahaa ....
explanation of the cases into five exercises in the meeting.
complete explanation of the faculty, we began to excitement in the classroom.
the professor asked nine people to come forward. one of which was chosen as chairman of the team .. our next task was given ..
this task:
foreman was given a sentence (about 10 words). Each time getting a word (of course in a whisper) the head of the team would deliver the message to his friend by not mentioning the word ONE (or LAST to give up that matter). The second person will pass the word to NOT mention the word (or both LAST) and so on. up to the last, will receive messages only ONE word (or complete sentences).
this task as a game. but a serious game. because of this game is a description of the recursive ..
eehhhmmm,,, eah as usual ... although exciting but still less understood. keep the spirit and fighting ..
reflection so this time ..
thank you ..
ok we start ..
this meeting really exciting. we first discuss the matter Alpro. understood less as usual. and there is a different, usually empty my notes. but with a written explanation from the lecturer's first record Alpro begins .. Hhahahaa ....
explanation of the cases into five exercises in the meeting.
complete explanation of the faculty, we began to excitement in the classroom.
the professor asked nine people to come forward. one of which was chosen as chairman of the team .. our next task was given ..
this task:
foreman was given a sentence (about 10 words). Each time getting a word (of course in a whisper) the head of the team would deliver the message to his friend by not mentioning the word ONE (or LAST to give up that matter). The second person will pass the word to NOT mention the word (or both LAST) and so on. up to the last, will receive messages only ONE word (or complete sentences).
this task as a game. but a serious game. because of this game is a description of the recursive ..
eehhhmmm,,, eah as usual ... although exciting but still less understood. keep the spirit and fighting ..
reflection so this time ..
thank you ..
Selasa, 10 April 2012
Refleksi Alpro pertemuan ke-7
post at the start ..
this meeting to discuss about the array. but the array is what??
Array is a structured data type that can store lots of data with a same name and occupy a place in memory of successive (contiguous) and the same data type.
brief explanations. further how the application of the array in everyday life?
one discussion group that I referred to in that group to give an example. ie on the use of the refrigerator.
indexnya as follows:
A. placed in the kitchen refrigerator
2. select the type of food and beverages
3. grouping of foods and beverages
4. put the appropriate place
input: input materials or goods to the consumer
process: food and beverages classified according to its place.
output: the result of food or beverage ingredient groupings based on the space provided.
explanation:
For example in the refrigerator, the preparation of food in the fridge with a variety of criteria types. eg drinks placed on the refrigerator door. We can classify food or drink in the space provided for the material in accordance with their own kind.
Thus my post this time ..
Thank you.
Langganan:
Postingan (Atom)





