Nur Rachmat

Archive for December 2008

CCNA 3 : Module 5

Posted by: nR on: December 10, 2008

Take Assessment – ESwitching Chapter 4 – CCNA Exploration: LAN Switching and Wireless (Version 4.0)
1. What are two features of VTP client mode operation? (Choose two.)
*unable to add VLANs
can add VLANs of local significance
forward broadcasts out all ports with no respect to VLAN information
*can only pass VLAN management information without adopting changes
can forward VLAN information [...]

do . . . while

Posted by: nR on: December 10, 2008

Contoh penggunaan do . . . while
1.
#include
using namespace std;
void main()
{
int a, b;
a = 1;
cout<>b;
do
{
// if (a % 2 ==0) //kelipatan 2
if ((a % 2 ==0) && (a % 3 == 0)) //kelipatan 3 genap
cout<<a<<” “;
a++;
}
while(a <= b);
system(“pause”);
}
2.
#include
#include
using namespace std;
void main()
{
int x,y,z;
cout<<”————\n”;
cout<<setw(4)<<”x”<<setw(4)<<”y”<<setw(4)<<”z”<<endl;
cout<<”————\n”;
x = 0;
y = 0;
do
{
z = 20 – x – y;
cout<<setw(4)<<x<<setw(4)<<y<<setw(4)<<z<<endl;
y++;
}
while(y<=20);
system(“pause”);
x = 1;
z = 0;
do
{
y = [...]


 

December 2008
M T W T F S S
« Sep   Mar »
1234567
891011121314
15161718192021
22232425262728
293031  

Archives

Recent Comments

Blog Stats

  • 2,862 hits