Write a visual basic code that will compute root of a quadratic equation using determinant
Write a VB class, named ‘Shape’, with the following properties and methods:
Properties (with get and set)
-Width (integer) : read-write
-Height (integer) : read-write
-Type (enumerated types: ShapeType: rectangle, triangle, square) : read-only
Methods
-Area() : return the area of the shape
The Shape class should have a constructor to construct a new Shape object using user-supplied values.
#include<stdio.h>
int main()
{
int z = 0;
int sum;
{
sum+=z;
z++
}
printf("%d",sum);
return
}
how in form of visual basic?
#include<stdio.h>
int main()
{
int z = 0;
int sum;
{
sum+=z;
z++
}
printf("%d",sum);
return
}
how in form of visual basic?
Write a statement or a set of statements to accomplish each of the following:
Develop a solution to compute the average price for three items’ price input by user one at a time. If the average price is greater than RM50, 10% discount will be given to the customer. Your program should be able to display the nett amount that needs to be paid by that customer.
Write a program to enter (15) numbers by using inputbox satement, then find (1):the average of positive numbers, (2):the summation of negative numbers, print the results in textboxes
Write a python program using conditional statements design a login where a user will enter a username and password
A) on successful login a welcome message is displayed
B) on 3 attempts an invalid message is displayed informing the user of the attempts remaining
C)on the fourth unsuccessful attempt the program will exit and inform the user of failed attempts
A list box can be bound or connected directly to a data table. true or false
Using conditional statements design a login where a user will enter a username and password
A) on successful login a welcome message is displayed
B) on 3 attempts an invalid message is displayed informing the user of the attempts remaining
C)on the fourth unsuccessful attempt the program will exit and inform the user of failed attempts