Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( Need the problems converted to a virtual basic program starting with option strict on and sub main ( ) ) or the following problems,
Need the problems converted to a virtual basic program starting with option strict on and sub main or the following problems, one from homework # and one from homework # need to take the algorithm and convert it to a Visual Basic program. Remember to following guidelines given for turning in actual program assignments. All programs need to have Option Strict On with output pasted below source code and comment section at top with name. Each problem will need its own program to turn in Do not turn in the algorithm for these, you already did.
A problem that determines if an entered number is negative or positive, and continues to have user enter numbers and display appropriate response until user enters a zero. Will keep looping until the user enters
A store is having a sale on shirts. The shirts cost $ individually, but if four to ten shirts are bought they are only $ a shirt, and if more than ten are purchased then they cost only $ a shirt. Have the problem calculate the price for all the shirts, the sales tax at and the total price based on the number of shirts purchased. Also make sure to display all the data, ie shirts sold, price of shirts, sales tax and total price. Need to use FormatCurrency function as well.
For this last two problems you need to do three step analysis, write an algorithm and then convert to VB code. Turn in all three for each one.
User is asked to find the area of either a circle or rectangle. Will be asked to determine which one then if choose circle, ask for radius, compute area and display area. If choose rectangle, ask for the length and width, calculate area then display the answer. Can read users input as a character, need to check with Rc or Cc The little c tells compiler to treat it as a character.
Problem will be a multiplication tester. Computer will randomly pick two integers between and than multiply them together to keep the answer. Problem will then ask user to find the answer and will determine if correct or not. If correct, tell them, if not then display correct answer. Will continue to loop until user decides to quit. Sample output below.
Do you want to multiply two numbers Y
Find the answer
Congrulations, Correct!!
Do you want to try again
Find the answer
Sorry, wrong, correct answer Is
Do you want to try again
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started