No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi everyone![I] I need to write program that will find the average of 20 element array and also display the number of each number in the array occurs.[/I] [I]I have sorted average number but straggle with "number of occurrences". Please help!!!![/I] [code=c] #include<stdio.h> #include<math.h> main() { float avg,sum=0; int i,j; … | |
Private Sub cmdCalc_Click() Dim Commission_Percent As Double Dim Total_Commission As Double Dim Sales_Price As Integer Dim Highest_Commission as Integer Sales_Price = txtSales_Price.Text Total_Commission = Sales_Price + Commission_Percent If Sales_Price < Total_Commission Then [Total_Commission = Highest_Commission] End If lblTotal_Commission .Caption = Total_Commission End Sub | |
Re:
i keep hearing about thees things called arrays but i never now what they are and are they used as much as classes? |