Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1487

beginner needs help

$
0
0
Hi Guys i'm young and just started my adventure with VB. I've got one task to do and i can't figure out how to do this simple code. It would be splendid if You will help me with this easy task. :)

Write a program that calculates for three teams matches results -each with each - the number of points scored by each team, if you know that:
-for a draw both teams gets one point
-for winning team receives three points, when difference is bigger then 2 goals,
-for winning team receives two points, when difference is smaller, or equal then 2 goals,
-losing team gets zero points

Thank you in advance for your help. :)

Viewing all articles
Browse latest Browse all 1487

Trending Articles