Thursday, August 7, 2014

VB.NET PRACTICE SHEET-I

1  1   Write VB Code to find Area of Circle.
    2 Write VB Code to change Background color of form when user click on Button.
RED GREEN BLUE
3  Write VB Code to Enter Name, Age of Any Person & Find that Person is eligible for vote or not.
4   Write VB Code to Enter Any Number & find factorial of that number.
5 Write VB Code to Enter Any Number & find that number is Prime or not prime.
5 à2 3 4   8à2
          for(i=2;i<=n-1;i++)
          {
                   If(n%i==0)
                   {
                             break;
                   }
          }
          if(n==i) {prime else not prime}
6   Write VB Code to Enter Any Number & find that number is Even or Odd.




No comments:

Post a Comment

Computer Network & Computer Features | Bal Varg | Computer Questions List!

  Computer Network & Computer Features 1) _______ is a thin strip like bar present at the bottom of the screen.   Taskbar 2) _______ ser...