₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,013 members, 8,419,942 topics. Date: Thursday, 04 June 2026 at 07:58 AM

Toggle theme

Michael13's Posts

Nairaland ForumMichael13's ProfileMichael13's Posts

1 2 3 4 5 6 7 (of 7 pages)

ProgrammingRe: Project Topics Tips For Computer Science Undergraduates by Michael13(m): 6:07am On Jan 09, 2012
thks man! Infact i woke up around 3am dis morning and re wrote d program with d if-else statement and it ran dis time
i also used it 2 tell d weather condition of a place, if its 2 cold or 2 hot,
Men dis is fun! Thks
ProgrammingRe: Project Topics Tips For Computer Science Undergraduates by Michael13(m): 6:13pm On Jan 08, 2012
k, actually not that it did not run, its just that wen i was testing it i was not getting a good result.
Like lets say a student had all A's in all his papers, his GP ought 2 be 5 which is d maximum GP Point but instead am getting '4 point something'.
I have cross checked my code and numbers, still d same thing, as at wen i uploaded d codes i changed all double variable to an int, and it won't even run,
ProgrammingRe: Project Topics Tips For Computer Science Undergraduates by Michael13(m): 10:27pm On Jan 07, 2012
Nice one sweet-pawn, for a moment i forgot i was once in thise thread, this is because i have started my Java Tutorial Classes and boy o boy no be small thing but after a period of 2 weeks i wrote my first program that just output a dialog box, such joy, but now i just finished a code that calculates your GP but am having a problem with my output, so maybe i will put it out hear for all of ya to see, and Happy New year guys


import javax.swing.JOptionPane;
public class GradePoint
{
public static void main (String []args)
{
JOptionPane.showMessageDialog (null, "GET TO KNOW YOUR GP NOW!!"wink;
String m1;
String m2;
String g1;
String g2;
String c1;
String p1;
String p2;
String s;
m1 = JOptionPane.showInputDialog (null, "Enter grade for MTH 111"wink;
m2 = JOptionPane.showInputDialog (null, "Enter grade for MTH 121"wink;
g1 = JOptionPane.showInputDialog (null, "Enter grade for GSP 111"wink;
g2 = JOptionPane.showInputDialog (null, "Enter grade for GSP 101"wink;
c1 = JOptionPane.showInputDialog (null, "Enter grade for COS 101"wink;
p1 = JOptionPane.showInputDialog (null, "Enter grade for PHY 191"wink;
p2 = JOptionPane.showInputDialog (null, "Enter grade for PHY 195"wink;
s = JOptionPane.showInputDialog (null, "Enter grade for STA 131"wink;
int M1;
int M2;
int G1;
int G2;
int C1;
int P1;
int P2;
int S;
M1 = int.parseInt (m1);
M2 = int.parseInt (m2);
G1 = int.parseInt (g1);
G2 = int.parseInt (g2);
C1 = int.parseInt (c1);
P1 = int.parseInt (p1);
P2 = int.parseInt (p2);
S = int.parseInt (s);
int A;
int B;
int C;
int D;
int E;
int F;
A = 5;
B = 4;
C = 3;
D = 2;
E = 1;
F = 0;
int MTH1;
int MTH2;
int GSP1;
int GSP2;
int COS;
int PHY1;
int PHY2;
int STA;
int PAV;
MTH1 = M1*3;
MTH2 = M2*3;
GSP1 = G1*2;
GSP2 = G2*2;
PHY1 = P1*2;
PHY2 = P2*2;
STA = S*2;
COS = C*2;
PAV = MTH1+MTH2+GSP1+GSP2+PHY1+PHY2+STA+COS;
int GP;
GP = PAV/18;
JOptionPane.showMessageDialog (null, PAV);
}
}

Need a reply,
Jokes EtcRe: JACKPOT!!! Offtopic Bar Joint For Jokers~ by Michael13(m): 5:54pm On Nov 26, 2011
, na d song i dey meditate on grin
Jokes EtcRe: JACKPOT!!! Offtopic Bar Joint For Jokers~ by Michael13(m): 3:40pm On Nov 26, 2011
hmmm, akpako, *DAY DREAMS**
PoliticsRe: Suicide Bombers Will Go To Hell - Gov Aliyu by Michael13(m): 11:36am On Nov 20, 2011
, the bìtch-äss-nigga is not fit 2 make that statement!
Jokes EtcRe: The "rumour Has It" Game by Michael13(m): 11:34am On Nov 20, 2011
, Rumour has it that, u can still eat ur cake and hv it!
PoliticsRe: Suicide Bombers Will Go To Hell - Gov Aliyu by Michael13(m): 11:25am On Nov 20, 2011
joor o!, and fùck, 77 hot virgins,
PoliticsRe: The Usa Has Given 105 National Awards In 200 Years, Nigeria Has Given 3,924 by Michael13(m): 8:48am On Nov 19, 2011
, award, yafuyafu!! Just bring thy cash! grin
PoliticsRe: Jonathan Defends GCON Award To Dangote by Michael13(m): 3:48pm On Nov 15, 2011
sleek29:
GCON- Grand crook of the order of the Niger

OON- Ole of the order of the Niger

MFR- Member of the officer of the Federal Rogues

OFR- Officer of the Federal Rogues

GCFR- Grand Commader of the Federal Rogues (Goofluck Jonathan)

They clearly  deserve the awards  grin grin grin
,, o boi
SportsRe: Nigeria Vs Bostwana - Super Eagles Friendly - (0 - 0) On Sat 12th November 2011 by Michael13(m): 8:39pm On Nov 12, 2011
am still saying it, lets quit football and find sumfin fullfilling grin
SportsRe: Nigeria Vs Bostwana - Super Eagles Friendly - (0 - 0) On Sat 12th November 2011 by Michael13(m): 8:21pm On Nov 12, 2011
Ibime:
Welcome to the post Sia-Sia Eagles.

Back to the dour 0-0 days of yore with old unproductive legs back in the first team.

Sia-Sia was really taking Naija forward and was unlucky with events which conspired against him, especially the fact that Eguavoen lost the first game against Guinea leaving him chasing a 3-1 win when a 2-1 win woulda sufficed - but I know one thing for sure - SiaSia teams always score goals.
, mtchew like say na siasia or eguavoen dey play d ball shocked
SportsRe: Nigeria Vs Bostwana - Super Eagles Friendly - (0 - 0) On Sat 12th November 2011 by Michael13(m): 7:35pm On Nov 12, 2011
una still they watch dem 'super sheekens', until una suffer 4rm grin hbp,
ProgrammingRe: Project Topics Tips For Computer Science Undergraduates by Michael13(m): 8:50pm On Nov 09, 2011
thks 4 ur clerification,
ProgrammingRe: Project Topics Tips For Computer Science Undergraduates by Michael13(m): 11:44am On Nov 08, 2011
nice one, although am not a graduate infact am in my fist year at d university of nigeria, UNN, I knw i hv flair 4 computers, infact 2 be a programmer, i want 2 knw d possible carrer one wld chase after graduation, thks
EducationRe: UNN Post-utme 2011/2012 Update. by Michael13(m): 3:43pm On Sep 08, 2011
y hv u guyz abandoned dis thread @ this crucial tyme?anwayz hv checked ma result and i got 229.333366 for computer science, and am 4rm enugu, any chance?, need urgent reply like wat d possible cutoff wld be like,
Music/RadioRe: Wizkid Stole Pakurumo? by Michael13(m): 6:59pm On Aug 07, 2011
the fall of WIZKID, Coming SOon to a CINEMA NEAR YOU!!!!!
EducationRe: UNN Post-utme 2011/2012 Update. by Michael13(m): 7:30pm On Jul 27, 2011
ha, this forum has made things easier, but we just seem to forget the issue hear when is the date and hw or were
can we get the forms? cool
EducationRe: Jamb 2011 Discussion Thread. by Michael13(m): 12:29pm On Jun 25, 2011
226, UNN, Wat do u guys thinkhuhhuhhuh/
undecided undecided

1 2 3 4 5 6 7 (of 7 pages)