Skip to content

Computer Programming Problems and Solutions with the Visual Basic Language

Notifications You must be signed in to change notification settings

ArjunAranetaCodes/MoreCodes-VBNet

Repository files navigation

MoreCodes

Join Us on Youtube!
https://www.youtube.com/channel/UCK8YsKv4-N6ItZfzEyKlI6A/featured

MoreCodes- Visual Basic Programming problems

Computer Programming problems and Solutions with the Visual Basic Language

  1. Basic Output
  2. Variables
  3. Basic Input
  4. Comment
  5. Arithmetic Operation
  6. Loops
  7. Condition (If/Else)
  8. Condition (Switch )
  9. Function/Method
  10. Array/List

Visual Basic Programming Easy problems <- Click to go to Easy problems

  1. Write a program that accepts two numbers and find the sum.
  2. Write a program that accepts two numbers and perform all arithmetic operations.
  3. Write a program that accepts length and width of rectangle to find area.
  4. Write a program that accepts radius of a circle and find its diameter, circumference, and area.
  5. Write a program that accepts that accepts temperature in Celcius and convert it to Farenheit.
  6. Write a program that checks a number input is even or odd.
  7. Write a program that finds the sum of all numbers from 1 to 20.
  8. Write a program that outputs all numbers divisible by 5 from 1 to 30.
  9. Write a program that accepts a number and outputs 1 to the input (1 to n).
  10. Write a program that accepts three numbers and outputs their average.
  11. Write a program that concatenates two words.
  12. Write a program that asks a user for their name and outputs a greeting with their name.
  13. Write a program that outputs the length of the string.
  14. Write a program that replaces all letter 'a' in a string with letter 'e'
  15. Write a program that finds if a string is within a string.
  16. Write a program that compare two strings.
  17. Write a program that outputs the index of the first occurence of the letter in a string.
  18. Write a program that outputs the frequency of a letter in a string.
  19. Write a program that counts the total number of vowels in a string.
  20. Write a program that checks if a string is a palindrome.

Visual Basic Programming Loops problems <- Click to go to Loop problems

  1. Write a program that prints the numbers from 1 to 50. Output "Fizz" for multiples of 3, output "Buzz" for multiples of 5, and bot "FizzBuzz" for multiples of both 3 and 5.
  2. Write a program that outputs 5 random integers.
  3. Write a program that count letters in a string using a loop.
  4. Write a program that outputs an asterisk pyramid.
  5. Write a program that outputs all even numbers below 20.
  6. Write a program that outputs all odd numbers below 20.
  7. Write a program that outputs the sum of numbers from 1 to n.
  8. Write a program that counts vowels in a string.
  9. Write a program to display the multiplication table of a given integer.
  10. Write a program to check whether a given number is an Armstrong number or not.
  11. Write a program that checks if a number is palindrome.
  12. Calculate the Product of two numbers WITHOUT using the * operator.
  13. Write a program that reverses a string.
  14. Write a program that accepts 5 numbers and outputs the average.
  15. Write a program that will ask the user to input n positive numbers. The program will terminate if one of those number is not positive.
  16. Write a program that outputs the factorial of a number.
  17. Write a program that outputs the Fibonacci sequence of a number.
  18. (Recursion) Write a program that outputs the Fibonacci sequence of a number.
  19. (Recursion) Write a program that outputs all even numbers below 20.
  20. (Recursion) Write a program that outputs the sum of numbers from 1 to n.

Visual Basic Programming Array problems <- Click to go to Array problems

  1. Write a program that outputs the length of array.
  2. Write a program that gets the index of an element in an array.
  3. Write a program that counts the occurence of an element in an array.
  4. Write a program that outputs the first and last elements of an array.
  5. Write a program that outputs array using loops.
  6. Write a program that checks if an array contains an element.
  7. Write a program that finds the largest number in an array.
  8. Write a program that finds the lowest number in an array.
  9. Write a program that outputs the sum of an array.
  10. Write a program that outputs the average of an array.
  11. Write a program that reverses an array of integer values.
  12. Write a program that compares two arrays.
  13. Write a program that outputs all even numbers in an array.
  14. Write a program that outputs all odd numbers in an array.
  15. Write a program that copies values of an array to another array.
  16. Write a program that deletes an element in an array.
  17. Write a program that inserts an element in an array.
  18. Write a program that sorts an array in descending order.
  19. Write a program that combines two arrays.
  20. Write a program that outputs the element closest to 0.

Visual Basic Conversions Programming problems <- Click to go to Conversion problems

  1. Write a program that converts a number to string.
  2. Write a program that converts a string to integer.
  3. Write a program that converts an integer to float.
  4. Write a program that converts a string to array/list.
  5. Write a program that converts an array/list to string.
  6. Write a program that converts a binary number to decimal number.
  7. Write a program that converts a decimal number to binary number.
  8. Write a program that converts a decimal number to hexadecimal number.
  9. Write a program that converys a hexadecimal number to decimal number.
  10. Write a program that converts a decimal number to octal number.
  11. Write a program that converts numbers of day to minutes.
  12. Write a program that converts numbers of day to seconds.
  13. Write a program that converts celsius to farenheit.
  14. Write a program that converts lower case to upper case characters.
  15. Write a program that converts letters to ASCII.
  16. Write a program that converts feet to inch.
  17. Write a program that converts kilometer to meter.
  18. Write a program that converts liter to milliliter.
  19. Write a program that converts numbers to words.
  20. Write a program that converts a number to its corresponding month (e.g. 1 = January).

Check out More on our website!
http://more-codes.com/

About

Computer Programming Problems and Solutions with the Visual Basic Language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published