Lordbenax's Posts
Nairaland Forum › Lordbenax's Profile › Lordbenax's Posts
you can place a label on the form. Change the caption to CGPA. declare variables according to the number of courses that student uses with the dim command and one last one for the CPGA. The variables would be float or doubles but definitely not intergers. Find out the equation or formula used by your skool to calculate the CGPA. make the values of the courses variables to be the those gotten from text boxes u put on ur form. lets say Dim JavaModule1 as double JavaModule = text1.text convert this value from string to numeric values using the val. method from the arithmetic operators in VB. Such as Dim Javamodule1 as double Dim javamoduleNum as double. Javamaodule1 = text1.text javamoduleNum = val(javamodule1) Check up one this hint see if it works and i would discuss more 2morrow. I hope i av been of help. ![]() Java |
[color=#006600][/color][b][/b] Hello i am a really young programmer, you can bet, I am hope to improve Naija's IT industry thru software. I av learnt VB 6 and am currently learning Java. I pls need one of the java programmer's out dere to send to my mail box the setup prog for any version of the java development kit higher than Jdk 1.4.2. I av tried several times to get it from the net but to avail. My mail boxes r lordbenax@yahoo.com and knightbenax@hotmail.com. Please smeone should please help me with this. Thanks |
