dreamgirl 0 Newbie Poster

Hi,
well can anyone guide me to a site or suggest me some ideas where i can get some interfaces done on vb for a learning package for kids up to 7 yrs old.. i just need some example of the interfaces only//

Thx in advance

dreamgirl 0 Newbie Poster

oups sorry its reading from a file.. anyway its just a part of the ans that ive posted here but i think i got to know how to do it now..

Thx a lot u really help

dreamgirl 0 Newbie Poster

Hi,
well my question is how to calcuate the total cost for a shop which is as follows

Item           Quantity      Price per unit            Total cost
1                  2                  20                           40
3                  1                  25.50                      25.50

Total 65.50

float total(int qty, int price);
{
	int t;
	t=qty*price;
	if ((qty<10.00)&&(price<100.00);
	return t;
	else 
		cout<<"Error"<<endl;

}

Is it like that???
really need help to calculate this plz help

Thx

dreamgirl 0 Newbie Poster

well ive try to do one but the prob is that there is 2 textbox where we can input each number in one of these then it calculates and give the result. But me i want only one textbox where we can input both number to do the calculation n then get the answer
Plz help

here is my code
Dim a As Double
Dim b As Double
Private Sub Delete_Click()
Result.Text = ""
Operation.Text = ""
Product2.Text = ""
Product1.Text = ""
End Sub

Private Sub dot_Click()
If Operation.Text = "" Then
Product1.Text = Product1.Text + "."
Else
Product2.Text = Product2.Text + "."
End If
End Sub

Private Sub exit_Click()
Me.Hide
End Sub

Private Sub Power_Click()
Operation.Text = "^"
End Sub

Private Sub Divide_Click()
Operation.Text = "/"
End Sub

Private Sub Equal_Click()
a = Val(Product1.Text)
b = Val(Product2.Text)
If Operation.Text = "+" Then
Result.Text = a + b
End If
If Operation.Text = "-" Then
Result.Text = a - b
End If
If Operation.Text = "*" Then
Result.Text = a * b
End If
If Operation.Text = "/" Then
If Product2.Text <> 0 Then
Result.Text = a / b
Else
Result.Text = "Cannot divide by zero"
End If
End If
End Sub

dreamgirl 0 Newbie Poster

hello,
well my question is that when am creating a standard vb calculator, am unable to display the number 1,2 and so on the textbox??
How do we do that?
Thx in advance

dreamgirl 0 Newbie Poster

but the prob is that the program is stored in a files so how can i call it in a void function??
am really confused

dreamgirl 0 Newbie Poster

Hello,

well am just a beginner in c++ n my question is that how to you input in a void function the ranking of a student result??
Ive implement a program where we have to input the student marks and calculate the ranking/grading n calcutale the CPA?
Can any1 provide me with the answer plz

Thx