I am currently part of a Computer Programming class during my Junior year of highschool, as anyone else ever been a part of a class similar to this?
An example of the work we have to do is as followed
And this is actually one of the easier projects we have had to do.
Public Class Form1
Public G1 As Double
Public G2 As Double
Public G3 As Double
Public G4 As Double
Public G5 As Double
Public G6 As Double
Public G7 As Double
Public G8 As Double
Public G9 As Double
Public G10 As Double
Public Total As Double
Public average As Double
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
End Sub
Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click
PictureBox1.Visible = False
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
G1 = Val(TextBox1.Text)
G2 = Val(TextBox2.Text)
G3 = Val(TextBox3.Text)
G4 = Val(TextBox4.Text)
G5 = Val(TextBox5.Text)
G6 = Val(TextBox6.Text)
G7 = Val(TextBox7.Text)
G8 = Val(TextBox8.Text)
G9 = Val(TextBox9.Text)
G10 = Val(TextBox10.Text)
Total = G1 + G2 + G3 = G4 = G5 = G6 = G7 = G8 = G9 = G10
average = Total / 10.0
TextBox11.Text = average
TextBox12.Text = Total
If (average <= 98.0) Then
TextBox13.Text = "A+"
PictureBox1.Visible = True
PictureBox1.BackgroundImage = My.Resources.A_Face
ElseIf (average >= 94.0) Then
PictureBox1.Visible = True
PictureBox1.BackgroundImage = My.Resources.A
ElseIf (average >= 90.0) Then
PictureBox1.Visible = True
PictureBox1.BackgroundImage = My.Resources.B_
ElseIf (average >= 88.0) Then
PictureBox1.Visible = True
PictureBox1.BackgroundImage = My.Resources.B_face
End If
End Sub
End Class
what language are you programming in? o_O
Quote from: Jono2 on January 30, 2009, 11:02:15 AM
what language are you programming in? o_O
...Java? Python? Anyways, I'm a CS major, so...WHOO C++ SO FUN.
Not really. I'm starting to dislike C++.
Quote from: Silverhawk79 on January 30, 2009, 11:13:44 AM
Quote from: Jono2 on January 30, 2009, 11:02:15 AM
what language are you programming in? o_O
...Java? Python? Anyways, I'm a CS major, so...WHOO C++ SO FUN.
Not really. I'm starting to dislike C++.
I'm a CS major as of next year, and I'm in Java right now, but I'm wondering what "Public G1 As Double" is from.
Well, they gave me a Web Publishing class for this semester. So, I'll have to learn HTML.
My school doesn't have poop as far as I know. I'm too confused by the cpp tutorial I've been viewing, or maybe because it's too tl;dr?
Just started a C++/Java class today. :o
Quote from: Hishipi on January 30, 2009, 03:43:53 PM
Just started a C++/Java class today. :o
grade school or university?
Quote from: Hishipi on January 30, 2009, 04:13:01 PM
Quote from: Jono2 on January 30, 2009, 03:57:52 PM
Quote from: Hishipi on January 30, 2009, 03:43:53 PM
Just started a C++/Java class today. :o
grade school or university?
9th grade.
D:
lucky, i didnt get to start until grade 10.
C++ is boring, but you'll probably get into visual stuff in grade 11 or 12. stick it out, it gets much more fun (if it's not fun already).
I'll be a CS major next year, and have no idea how to do any of that. My school didn't have any computer science classes. Those hoes.
I'm going to be a CS major in the fall and have taken a CS course in my school and am now taking AP Computer Science A as an independent study. Both are Java so I know Java decently well. I think I'll be using C++ in college though, which I understand is quite similar to Java.
Quote from: SolidSNK on January 30, 2009, 07:45:32 PM
I'll be a CS major next year, and have no idea how to do any of that. My school didn't have any computer science classes. Those hoes.
you're diving straight into computer science? is that normal?
at our university, most students take "University 1", so that they can get their bearings and choose what they want. first year courses are generally pretty cheap here, and it really sends people in the right direction, and roots out those that don't belong.
there are plenty of people who were in my CS1010 class that hadn't programmed before, and are in my CS1020 class. You should be fine.
The computer science classes at my old high school were pretty much, "lol how i work ms office" with a dumbpoop as a teacher.
I saw this, aced the class, and didn't bother with the Computer Programming class they offered.
Since, I've been self-teaching myself anyway.
I can code LUA, HTML, CSS, and a bit of Javascript.
LUA is painfully easy actually.
I despise coding java. Or maybe the teacher is the reason I hated it. I don't know, I am enjoying learning basic HTML however.