|
Webmasters › Re: Buy Your Cheap .com Domain Name For As Low As NGN1000 only by henryobinna(op): 8:27pm On Oct 11, 2014 |
Dan1cole: How am I sure its genuine? try it out now, add me o whatsapp lets talk am not here for scamming. if I scam you, you have the right to say or do anything. |
|
Webmasters › Buy Your Cheap .com Domain Name For As Low As NGN1000 only by henryobinna(op): 4:32pm On Oct 11, 2014*. Modified: 9:45am On Dec 30, 2018 |
contact me if you're willing to buy your .com domain name. we sell at a very cheap price just NGN 1000
here's my Number; for whatsapp or call but NO text message
if its for we can help you set up
you can still make your request n enquiry from here.
*updated*: accepted payment is ONLY bank tranfers/deposit for any transaction.
thanks for your patronage |
TV/Movies › Re: Osuofia Vs Saka: Who Is The Better Comedian? by henryobinna(m): 3:31pm On Oct 11, 2014 |
stinggy: Yes, just had SK and Orijin bitters  ok, now I see |
TV/Movies › Re: Osuofia Vs Saka: Who Is The Better Comedian? by henryobinna(m): 2:59pm On Oct 11, 2014 |
|
|
|
|
|
Webmasters › Re: Free Blogger Followers And Blog Comments by henryobinna(m): 5:17am On Oct 11, 2014 |
|
|
Celebrities › Re: D'banj Becomes Apple/beats By Dre African Ambassador, Gets His Own Earphones by henryobinna(m): 8:15am On Oct 10, 2014 |
holyboss: So what nw?
He go dash me Iphone6 No! and don't dream of it |
|
Politics › Re: FEC Okays N1.1b For Rail Lines by henryobinna(m): 4:41pm On Oct 09, 2014 |
r33d: Only if the money is utilized well. true but I believe this one will |
Health › Re: Ebola: Can We Now Begin To Eat Our Bush Meat? by henryobinna(m): 3:24pm On Oct 09, 2014 |
infantrydoctor: .....Please can we start eating bushmeat now? capital NO! are you now okay?  |
Celebrities › Re: Google Explains Why It Shutdown Linda Ikeji's Blog by henryobinna(m): 3:08pm On Oct 09, 2014 |
bigt2: That's a bad one from google. how or why is it a bad one? |
Programming › Re: Programming With Android by henryobinna(m): 1:53pm On Oct 09, 2014 |
Preboy: @henryobinna Which jdk version are you using? Which IDE? I have the eBook, I'll check what went wrong and get to you later.
@javanian your help is highly needed Its jdk1.7.0 IDE is eclipse |
Programming › Re: Programming With Android by henryobinna(m): 12:56pm On Oct 09, 2014 |
Preboy: OK bro, tho I'm not that vast with java ok bro here's the problem I was talking of am learning java with ' java how to program' i encountered this problem. here's the driver class its called 'GradeBookTest.java' public class GradeBookTest { public static void main(String args []){ GradeBook myGradeBook = new GradeBook("CS101 introduction to java programming" ; myGradeBook.displayMessage(); myGradeBook.inputGrades(); myGradeBook.displayGradeReport(); }
} and here's the class 'GradeBook.java' import java.util.Scanner;
public class GradeBook {
private String courseName; private int total; private int gradeCounter; private int aCount; private int bCount; private int cCount; private int dCount; private int fCount; public GradeBook(String name){ courseName = name; } public void setCourseName(String name){ courseName = name; } public String getcourseName(){ return courseName; } public void displayMessage(){ System.out.printf("welcome to gradebook for \n%s!\n\n", getcourseName()); } public void inputGrades(){ Scanner input = new Scanner(System.in); int grade; System.out.printf("%s\n%s\n %s\n %s\n", "Enter the integer grades in the range 0 - 100.", "Type the end-of-file indicator to terminate input:","On UNIX/Linux/MacOSX type <Ctrl> d then press Enter", "On Windows type <Ctrl> z then press Enter" ; while (input.hasNext()){ grade = input.nextInt(); total += grade; ++gradeCounter; incrementLetterGradeCounter(grade); } } private void incrementLetterGradeCounter(int grade){ switch(grade / 10){ case 9: case 10: ++aCount; break; case 8: ++bCount; break; case 7: ++cCount; break; case 6: ++dCount; break; default: ++fCount; break; } } public void displayGradeReport(){ System.out.println("\nGrade Report:" ; if (gradeCounter != 0){ double average = (double) total / gradeCounter; System.out.printf("total of the %d grades entered is %d\n", gradeCounter, total); System.out.printf("class average is %2.f\n", average); System.out.printf("%s\n%s%d\n%s%d\n%s%d\n%s%d\n%s%d\n", "Number of students who received each grade:", "A:", aCount, "B:", bCount, "C:", cCount, " :", dCount, "F:", fCount); } else System.out.println("no grades were entered" ; } } the program is to read the inputs(grades) from the user till the user terminates the reading of inputs using ctrl +z , after reading the inputs it'll have to divid each inputed grade by 10 to know which has A, B upto F. but the problem now is, the program refuses to execute the switch statement, instead below is what it does: welcome to gradebook for CS101 introduction to java programming!
Enter the integer grades in the range 0 - 100. Type the end-of-file indicator to terminate input: On UNIX/Linux/MacOSX type <Ctrl> d then press Enter On Windows type <Ctrl> z then press Enter 66 76 76 78
Grade Report: total of the 4 grades entered is 296 this is the error message that accompanied it Exception in thread "main" java.util.UnknownFormatConversionException: Conversion = '2' at java.util.Formatter.checkText(Formatter.java:2547) at java.util.Formatter.parse(Formatter.java:2533) at java.util.Formatter.format(Formatter.java:2469) at java.io.PrintStream.format(PrintStream.java:970) at java.io.PrintStream.printf(PrintStream.java:871) at GradeBook.displayGradeReport(GradeBook.java:82) at GradeBookTest.main(GradeBookTest.java:7) so can you or other java experts help me out. |
Webmasters › Re: Nairaland Admin Should Correct This! by henryobinna(op): 9:05pm On Oct 07, 2014 |
MissMeiya: ....There probably should have been an announcement to explain exactly what I thought |
Webmasters › Re: Nairaland Admin Should Correct This! by henryobinna(op): 8:29pm On Oct 07, 2014 |
MissMeiya: The link takes you to the original post that was quoted, not to the user's profile page. The feature is working the way it is supposed to. ok ok ok... thanks for the clarification... if that's the case I guess this thread should be deleted or closed. |
Webmasters › Re: Nairaland Admin Should Correct This! by henryobinna(op): 7:46pm On Oct 07, 2014 |
Lovetinz: Guy how far, The milk bucket don full? The Cow don run? Abi the milker don stop?  hahaha... are you talking of etisalat? mad network, I've stop recharging on that sim. talk about this topic/problem of which the admin needs to fix |
Webmasters › Re: Nairaland Admin Should Correct This! by henryobinna(op): 6:14pm On Oct 07, 2014 |
somebody quote my user name n click on it, you'll see its not working |
Webmasters › Re: Nairaland Admin Should Correct This! by henryobinna(op): 6:12pm On Oct 07, 2014 |
I tried it a post that's talking about linda ikeji bla bla bla |
Webmasters › Nairaland Admin Should Correct This! by henryobinna(op): 6:10pm On Oct 07, 2014 |
somr days back I noticed this new feature; link to a user's profile will accompany his/her moniker when he/she is quoted but I've not tried till this evening just few minutes ago I tried but lo n behold its not working, instead it returns back that page(it reloads the page)
I don't know if its cos of my device(a smartphone) am using UC web at the momment
so I hope the reaponsible persons know of this and they should correct it. probabl u test your code well. |
Programming › Re: Why I Think NL Should Upgrade To HTML5 by henryobinna(m): 10:44pm On Oct 04, 2014 |
Karleb: because the guy you call social is concered, btw if you read the topic clearly you would realise that this is just my opinion and my opinion alone. I'm not saying nl should upgrade by fire by thunder.
Gerrit?  ok sir! |
Programming › Re: Why I Think NL Should Upgrade To HTML5 by henryobinna(m): 10:03pm On Oct 04, 2014 |
Karleb: yea I thought I lost it. 
but here is the summary, without html5 doctype all those code fragments I listed can't work. let me ask you a question, how does how the developer designed his forum concern a business guy who comes online on nairaland to socialise?  |
Programming › Re: Why I Think NL Should Upgrade To HTML5 by henryobinna(m): 8:25pm On Oct 04, 2014 |
Karleb: it actually affect the user directly or indirectly.
Like I said earlier neither of the two abi na three html4 doctypes works with all tag, which means if you are gonna change one little thing and the current doctype doesn't work with the new tag you want to add, you have to pick another doctype that suits the new tag and that does not guarantee the new doctype will work with all the current doctype tags. Which means you're gonna do some copy, paste, editing and deleting here and there which actually affects the users/visitors.
Even though html5 doctype does not support all these old tags alone;
<acronym> <applet> <basefont> <big> <center> <dir> <font> <frame> <frameset> <noframes> <strike> <tt>
that's according to http://www.w3schools.com/html/html5_intro.asp
but atleast you'll know it worths it, because you are upgrading and not static.  bro lets forget this argument but still I doubt you get my drift |
Programming › Re: Why I Think NL Should Upgrade To HTML5 by henryobinna(m): 6:51pm On Oct 04, 2014 |
Karleb: Although I don't really know much about html4 doctype but the last time I checked there are two html4 doctypes and neither of the two work with all tags.
In other words, if you wish to become a 'stand up' programmer you've got to cram the two long doctypes. 
Why cram two easily forgettable doctypes when you can know one unique universal doctype?  now you're going another way, me talking from the viewer's point, switching from html4 to html5 cos of the doctype declaration(of which I know nothing aout) is pointless and meaningless to me as a viewer/visitor. that's my point. cos it doesn't concern the visitor if the developer forgot the whole code or not, all a visitor wants is a functional site. period! not helping the developer |
Sports › Re: Types Of People You Come Across In A Football Viewing Centre by henryobinna(m): 5:15pm On Oct 04, 2014 |
ddooskie: NB. Stale but still funny for the weekend. Chelsea vs Arsenal
A guy just walks in and sits next to you and the following conversation ensue.
D guy: Bros how fa? Na match them dey play?
You:Yes nau. Shebi na im u dey watch.
D guy: Ok. Abeg who dey play?
You: Na im be dat na. Chelsea vs Arsenal
D guy: oh ok. Abeg who wear blue?
You: Na chelsea wear blue.
D guy: owk who com wear red?
You: oooh c am nau, na Arsenal.
D guy: owk no vex. Ehm bros na 1st half abi second half?
You: chai guy na wa 4 u o. Na 1st half nau. C am, na 20 minutes bros.
D guy: oh ok. Bros abeg wetin be scores?
You: come guy. Na 0-0 na. shebi na im we dey watch.
D guy: oh oh oh ok 0-0. . Abeg who cum get zero? is the sort of convo possible? the guy must be blind |
Programming › Re: Why I Think NL Should Upgrade To HTML5 by henryobinna(m): 4:54pm On Oct 04, 2014 |
Karleb:
easy man!
I personally do not like that doctype declaration, that aside it's long and you make on mistake like this, it won't work unlike the portable html5 doctype.  I know I know I know again. I know its long and can be easily forgotten, but tell me, how does that concern the viewer/visitor of the forum? does he know what happened? a resounding NO! so that number one should be blotted out |
Programming › Re: Programming With Android by henryobinna(m): 4:45pm On Oct 04, 2014 |
Preboy: OK bro, tho I'm not that vast with java ok, when am on pc, I'll copy and paste it on here, am on mobile right now. thanks in advance |