Sunnico's Posts
Nairaland Forum › Sunnico's Profile › Sunnico's Posts
IamLucy: ![]() She actually did'nt lie against him, but laid on him, I guess he is only complaining cos it was on a Monday morning.. |
Op bt why.. ![]() |
rffalbum:Op sorry to ask did u fail any of these subjects.. ![]() |
u hv done it again...!! ![]() ![]() |
Stupidity but why... ![]() |
Op its okay dont mind all d yabs u're getting, its part of the put through u asked for anyways welcome to Nairaland... |
Op bt why?? |
Metalzoa:Cheating!!! no its tweaking well looking at d use of switch, normally ur program case would involve u including all possible consequences, meaning u wud be having more than 3 cases to define an output for. That way u wud be so righteous to write many case statement for ur program. Thé problem is thé case statement requires à constant integer, so for ur program(in c++) its either u include all cases i.e when i=3,i=5,i=6,i=9,i=10, i=15,....which i tink is dumb or u stick to ur if.. else if.. |
epospiky:Okay, just use The cast operator as i said earlier dat should do it... public double setResult { return double((data1*2)+(data2*3)+(data3*3)+(dat4*2)+(data5*2))/19;} |
yungcheda:My goodness thats one good thing you could ever do learning both and then integrating programming to optimize your medical praction But i think the question should be on How.. ![]() |
i think the issue is with ur data1,data2..., did u define them as an integer type, if yes u can either change thier data type to double or use a cast operator i.e double setResult = double((data1*2)+(data2*3)+(data3*3)+(dat4*2)+(data5*2))/19; *note public is used to reference variables outside the class not inside it, from the little i know |
The way I see this program you have only 3 cases, 1. when modulus 3 gives 0 2. when modulus 5 gives 0 3. and when modulus 15 gives 0 so this cases are what u should switch here is what i did #include <iostream> using namespace std; int main(){ int cases=0; for (int i = 1; i <= 100; i++) { //setting my cases if(i%15==0) {cases=3; } else if(i%5==0) {cases=2;} else if(i%3==0) {cases=1 ; } //for those not meeting ur selection// else{cases=0;} switch (cases) { case 0: cout <<i<<endl; break; case 1: cout <<i<< "Fizz"<<endl; break; case 2: cout <<i<< "Buzz" <<endl ; break; case 3: cout <<i<< "FizzBuzz"<<endl; break; default: cout << "how did i get here" << endl; break; } } return 0; } |
epospiky:Can u post your code also |
hello Bro, I know you would think you are going through a lot of suffering right now, with all the way you are being treated by your father, but the truth is that in this life everybody has a cross to bear, for some people that cross might be their siblings,friend,wife, but yours is just a powerful one because either u are right or wrong your parents words(curses or blessings) would always have an impact in your life. But the truth about life is that if u should hear another persons cause of tribulation u would get to know yours is even better. My advice for you is Do not leave the house cos it would never solve the problem, u would just be postponing it to some other time. Never ever try or even for a second think of fighting with your parents Actually check yourself and see if truly u are not wanting in any part. Lastly find a moment to go to your father with humbleness tell him to forgive you for everything or anyway u might have wronged him. I believe your father being a military man might be one reason why he is strict, but if truly he is human this should change his feeling towards you.. |
seeing ur code am assuming ur smiley means a closing bracket, if not dats an error, bt dat aside..... i would like to ask what ur program is aimed at doing...is it just printing only Strings or with variables..?? |
Op me just came to see comments walai...... ![]() |
Hello Elantracy..!!! ![]() |
DeHero1:inspirational slap |
Please is someone from hnd computer engineering, who has done his NYSC eligible for unilag electrical/electronics eng. pgd ?pls dnt mind my typo....typing on a blank screen |
Op the question should have been what would you do realizing this after submitting your exam sheet ? |
Enasdan:Yes!!! |
ezehy:okay |
ezehy:dats Okay, u can inbox me ur skills and areas of specialization, actually right now I have a web project i want to implement, may be we could start with that.. expecting your message: owolabi.sunday@yahoo.com |
Hello Ezeh, by needing a small Job do you mean you need a place where you could work as an intern or rather need people to give you web projects to implement and then pay you in return?? |
Nice work man, But I was thinking it would be nice to get a diagramatic illustration.. |
pacodas:I dont think that would be fair enough,if u like a post simply like it else ignore it... ![]() nice smiley u gt der@dp |
Chai see fuel that some people are queueing to Buy, all wasted, I hope no lifes were lost sha.. ![]() |
How does any entrepreneur know the time is right to start a company? The answer is different for every individual. But when I asked a Software Company CEO that lived in my neighbourhood some weeks ago -- He said one should invest 3-5 years of experience before starting a company. It may be possible to get that experience by the time you're 25 thats if you have actually been planning on your carrier early enough, definately thats what we see with the likes of Bill gates, Mark Zuckerberg..and who knows U. if you've spent the previous 5 years developing a specific product -- sandals that you've designed -- or a key skill -- programming applications on a smartphone, or a strategy--marketing for instance. Otherwise, a young graduate or undergraduate should first identify a field that interests him or her, then work or take intern in its leading company before launching a new venture. The reasons for his suggested strategy as he said were simple. First, experience will help young would-be entrepreneurs develop their skills and find out what they are really good at, compared to rivals. Second, it will help them develop a network of potential suppliers, employees, investors and customers. Finally, it will let them see market opportunities that their employer is not tapping into, opportunities on which they might eventually base a new venture. I know Entrepreneur has a lot to do with risk taking, but if u must take a risk it should be a planned one where there's a higher probability of scaling through, and You know what that involves Planning Big Time.. Now the Question is when do you think is the right time to launch your start up?? |
Kennyinusa:Wow dats cool am also a java programmer but I also do web development,very soon I would be working on android development when am ready to create an android version of my ongoing project. And about the architectural design, I dont think you are the only one that feels that way, to me it always like something is missing, But the truth is we shouldn't expect the best or complete functionality from the project/Application at the first instance, more bugs and correction can be done to it later after deployment in form of an upgrade. Also you could try doing a review on it with ur friends or co-programmer.. |
Thanks Guys for ur contribution, fine I get where abdulhakeem talked about the risk in sharing ones idea and just like Kennyinusa said sharing ur idea is not really the danger but exposing the technique in which u achieve this is what should be cautioned. But do u guys also believe that one doesn't really have to be a geek to be succesfull as a techcnopreneur, infact sometimes the Idea u have is what should actually make u learn the technology or language needed to achieve this, and even sometimes if you believe the idea is something so big u might not be able to complete on time, its better hiring a Pro(certainly someone you trust) to join u in completing it, because there is a probability someone else is thinking the same thing you are planning to do Now my question is as a programmer what are does things or factors that has always delayed You in completing your project in time?? @Abdulhakeem1 and kennyinusa could u kindly tell me what language u program in?? |



