Posts

Showing posts from 2018

#2 link state routing || OSPF Protocol || Dynamic Routing

Image

#1 Link state Routing || Dynamic routing || OSPF. protocol || cisco pack...

Image

#How Dynamic Routing work || Dynamic routing in Cisco packet tracer ||...

Image

#Connection of two lan with multiple vlan

Image

Wide area network (connection of two lan through router)

Image

#How to make a sub-netting network of single network.

Image

#Double link list in of data-structure using c++ language.

Image

#How to find position in array in c language.

Image

#How to count total number in integer number in C++

Image

#How to count spaces between a string in c++

Image

#How to convert the binary number into decimal number in c++.

Image

#How to convert a binary number into octal number in c++.

Image

#concatenation of two string in c++.

Image

# How to make a simple calculator and progress bar in C# language.

Image

#How to make the BMI Calculator and progressBar in C# language using vis...

Image

#How to make the BMI Calculator and progressBar in C# language using vis...

Image

How to make the LAN network?

Image

# How security of port of switch in networking using access mod.

Image

How to access the web page from a servour in networking?

Image

#C++ program to use the pointer to print the value !!!

Image

#C++ program to check that the user input number is angstrom or not !!! .

Image

# C++ program to user input Character to print its assci value !!!

Image

#Shallow and deep copy concept in java.

Image

C++ program to check alphabet is vowel or consonant .

Image
Vowel : j e.g:     A,a,E,e,I,i,O,o,U,u and consonant other than this alphabets. A #include <iostream> using namespace std; int main() { int x=1; char user; while(x!=0) {     cout<<"Enter a character for chek alphabate or number and then check vowel or consunent: ";     cin>>user;     if((user>='a'&& user<='z') || (user>='A' && user<='Z'))       {     cout<<" it is an alphabet"<<"\n";     if(user=='a' || user=='e' || user=='i' || user=='o' || user=='u')         {     cout<<"You enter vowel in small alphabate"<<"\n\n";             }             else if(user=='A' || user=='E' || user=='I' || user=='U' || user=='U')             {       cout<<"You enter vowel in...

#Final keyword with different variable in java.

Image

Program to find the factorial of any number ?

Image
Factorial: The  factorial  of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n 6 fact=6*5*4*3*2*1          =720                                         #include <iostream> using namespace std; int main() { int iteration,number,i,x=1; char ch; while(x!=0)     {     cout<<"Enter a number to find its factorial:"<<"\n";     cin>>number;         cin.get(ch);         if(cin.fail())         {         cout<<"you enter data is not valid for factorial"<<"\n";         break;     }     else if(ch=='.')         {             cout << "your e...

C++ program show the largest element of the Array:

Image
C++ program show the largest element of the Array: #include <iostream> using namespace std; int main() { int userenter,loopstart,x=1; while (x!=0) { cout<<"Enter the size of the array:"<<"\n";       cin>>userenter;     cout<<"Enter  "<<userenter<<"  number for cheking the greatest element of array:"<<"\n";     int largestelement[userenter];     for(loopstart=0; loopstart<userenter; loopstart++)       {       cin>>largestelement[loopstart];     }     cout<<"Each subscript with its own value:"<<"\n";     for(loopstart=0; loopstart<userenter; loopstart++)     {       cout<<"largestelement"<<"["<<loopstart<<"]"<<"="<<largestelement[loopstart];     cout<<"\n";     }   ...

C++ program to hours, minutes, seconds in 24 hours and 12 hours format.

Image
C++ program to hours, minutes, seconds in 24 hours and 12 hours format. #include <iostream> using namespace std; int main() { int hours,minutes,seconds,update; cout<<"Enter hours:"<<"\n"; cin>>hours; if(hours<24) { cout<<"Enter minutes:"<<"\n"; cin>>minutes; if(minutes<=59) { cout<<"Ente Seconds:"<<"\n"; cin>>seconds; if(seconds<=59) {     if(hours>=12) { cout<<"Time formate of 24 hours:"<<"\n";         cout<<hours<<":"<<minutes<<":"<<seconds<<" "<<"PM"<<"\n\n"; } else {     cout<<"Time formate of 24 hours:"<<"\n";         cout<<hours<<":"<<minutes<...

C++ program to find the prime number...

Image
C++ program to find the prime number... Prime number:                     A number which is only divisible by 1 and itself. e.g 3,5,7 #include <iostream> using namespace std; int main() { int user,count=1; cout<<"Enter a number:"<<"\n"; cin>>user; for(int i=2; i<=user; i++) { for(int j=2; j<=i; j++)     {     if(i%j==0)     {     if(i==2)     {     cout<<"\n"<<i<<"\n"; } break; } else if(i==j+1) { cout<<i<<"\n"; count++; } } } cout<<"\n Above first  "<<count<<"  prime number"<<"\n"; return 0; } output of above code:

C++ program to check that enter number is perfect or not..

Image
  C++ program to check that enter number is perfect or not.. Perfect Number:                     A positive integer that is equal to the sum of its proper divisor.                     e.g  6 is the sum of  1,2 and 3 which are the proper divisor. #include <iostream> using namespace std; int main() { int loopstart,usernum,result,label,x=1; while(x!=0) { int sum=0; cout<<"Enter number to check that the number is perfect number:"<<"\n";     cin>>usernum;     result=usernum;     for(loopstart=1; loopstart<=usernum/2; loopstart++)       {     if(usernum%loopstart==0)     {     sum=sum+loopstart;     }     if(result==sum)     {     cout<<usernum...

3rd lecture of java simple program.

Image

c++ program to show that user enter number is even or odd...?

Image
C++ program to  show that user enter number is even or odd Even number: A number which can divided by two and its remainder is  equal to zero. Odd number:    A number which can divided by two and its remainder is not equal to zero. #include <iostream> using namespace std; int main() { int no,x,y; while(x!=0) { cout<<"Enter a number:"<<"\n"; cin>>no; if(cin.fail()) { cout<<"You enter a wrong data"; break; } else if (no%2==0) { cout<<"This is an even number"<<"\n\n"; } else  { cout<<"This is an odd number"<<"\n\n"; } cout<<"press 0 for exit to programe (OR) for continue to press any key :"<<"\n"; cin>>x; } return 0; } output of the above code:

First lecture + Introduction of java

Image

2nd lecture of java+ How to compile the java code

Image

How to use whatsapp through computer +laptop

Image