VB.NET Problems assignment to be submitted by 26th August.

This is a VB.NET  assignment by Madhavendra Sir to be submitted in a Journal, by the 26th of August.

 

  1. Take two numbers from a user and print the maximum and minimum of those numbers.
  2. Take a number from a user and check if it’s odd or even.
  3. Add a number to itself using the assignment operator.
  4. Where a = 12, b = 10, use the And operator and find out the result.
  5. Print numbers from 15 to 30 using Do While and Do Until
  6. Print numbers from 10 to 30 using the While loop.
  7. Print all odd numbers between 1 and 20 using For loop.
  8. Demonstrate each loop.
  9. Print the multiplication table of 5.
  10. Find out factorial of a number.
  11. Calculate salary using a Sub procedure.
  12. Swap two numbers (a = 10, b = 20) using a Sub procedure.
  13. Swap two numbers without using a third (temp) variable.
  14. Find out the volume of a box where length = 10, breadth = 15, height = 25.
  15. Accept a number and display if it is prime or not.
  16. Accept a number from the user. Create 3 different methods to perform the following operations:
    1. Check whether number is an Armstrong Number.
    2. Factorial of the Number.
    3. Sum of the digits of a number.
  17. Pattern:
    1.
        ABCDE
        ABCD
        ABC
        AB
        A
    
    2.
        12345
        1234
        123
        12
        1
  18. Pattern:
        55555
        4444
        333
        22
        1
  19. Login with the use of a comparison operator and a logical operator.
  20. Concatenate a string with a number.
  21. Accept a password from a user a maximum of 3 times. After 3 attempts, the user must be locked.

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s