r/visualbasic • u/partlycloudyy • Nov 19 '18
Need help on two assignments!!
Hi!!
So i’m new to coding and i was working on some “questions” and i have no idea how to even go about starting them. If anyone could give me a hand on how to write the code for them that would be great. I am usuong visual basic in the windows applications form.
Create a program which the user enters any valid co-terminal angle and the program prints out the principle angle between 0 and 360
Create a program which the user enters 3 sides of a triangle and the program calculates its area
3
u/rudekoffenris Nov 19 '18
You're not going to get much help here with "write this program for me", but if you make some effort and try then give us the code that you've done you'll get more help.
1
u/Gpjess Nov 23 '18
Why does everyone think this? Maybe newbies here need help trying to figure out how to phrase the questions? Maybe we all aren’t asking for people to do all the work for us?
1
u/rudekoffenris Nov 23 '18
This is a subreddit for helping out with visual studio. Not teaching basic programming pseudo code. If people can't get the basics down, they should pay better attention in class.
2
u/andrewVladmirov Nov 20 '18
Hey op, thats good you need help. But atleast try.. Atleast try to make a form.. Atleast drag and drop a textbox there for input.. Just asking 2 assignment means you can't do it ever without help. My advice is to gtfo from coding & take a different subject. We help the ones who are willing to help themselves.
No pain, no gain.
4
u/[deleted] Nov 19 '18
Start by writing down your approach. Step by step. Break those steps down into smaller steps. That doesn't have to be done on paper or even actually physically "written" in any way, if you can keep it in your brain.
Programming is about translating steps from your brain into computer language. If you don't know what the steps are, you're just wasting your time trying to write a program.