A community for students. Sign up today!
Here's the question you clicked on:
 0 viewing

This Question is Closed

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0#define close_enough 0.01 main() { char facts[] = {"fat (grams)", "calcium (%)", "carbs (grams)", "vitamin D (%)", "cholesterol (%)" }; double ingred[3][5] = { { 0, 1, 2, 4, 3 }, { 3, 4, 5, 0, 3 }, { 0, 6, 0, 7, 8 } }; int numbers_should_equal_this[] = { 15, 43, 4, 7 ,3}; int looper[3]; for (looper[0] = 0 ; looper[0] < 100 ; looper[0]++) for (looper[1] = 0; looper[1] < 100  looper[0]; looper[1]++) for (looper[2] = 0; looper[2] < 100  (looper[0] + looper[1]) ; looper[2]++) if (ingred[0][0] * (looper[0] / 100.0) < close_enough) if (inged[1][0] * (looper[1] / 100.0) < close_enough) if (sugar[2][0] * (looper[1] / 100.0) < close_enough)

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0:) it is not complete, but you get the idea

lokisan
 3 years ago
Best ResponseYou've already chosen the best response.0What is it meant to do?

lokisan
 3 years ago
Best ResponseYou've already chosen the best response.0You do have a mathematical way to do this  it's your algorithm.

suzi20
 3 years ago
Best ResponseYou've already chosen the best response.0this is not complete but complicated

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0I'm closing my eyes. I had a test yesterday in Object Oriented Programming ._.

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0it will figure out what ratios of ingredients are needed for a given food. For example I have a cheesecake snack which contains only cream cheese, sour cream, sugar and eggs. I know from the box the nutritional facts of the box, and I know the nutritional facts about each ingredient. Now with this information I should be able to figure out the ratios with a program that just tries every possibility and checks to see if the numbers work.

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0OOP is cool but this is not OPP

suzi20
 3 years ago
Best ResponseYou've already chosen the best response.0is this linear programming?

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0you guys should see my 24000 lines C++ code LOL

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0I guess it is procedural programming, not linear, IMHO

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0programming is easier than most ppl think

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0lol angoo, I do practice programming, but I don't go deep into it.

lokisan
 3 years ago
Best ResponseYou've already chosen the best response.0my programs never work properly and i have no patience and just get angry

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0what language do you use loki

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0LOL , let me guess, error error unable to complie LOL

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0which language do you use? Java, C++? C? C# etc etc

suzi20
 3 years ago
Best ResponseYou've already chosen the best response.0i used C program with bloodshed dev c++

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0you can learn enough of programming to make a simple text based role playing game in about a month

lokisan
 3 years ago
Best ResponseYou've already chosen the best response.0I don't know. I was forced to do some as part of my degree. C or something.

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0I use Java , since it's the only language available to practice here in campus

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0YEY!!! I also used to use Bloodshed

lokisan
 3 years ago
Best ResponseYou've already chosen the best response.0Yeah, you're all nerds...

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0I ain't a nerd, you should see me in real life LOL, you would be surprised

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0I know you are kidding, so am I

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0there's a difference between a nerd and a geek, geek = computer more person, nerd = study more person lol

suzi20
 3 years ago
Best ResponseYou've already chosen the best response.0to make a mathematical program from complicated case, u have to learn linear programming, i think.

lokisan
 3 years ago
Best ResponseYou've already chosen the best response.0so you're saying if i saw you, i *would* think you were a nerd?

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0I was so proud of the program I wrote lol, finding the factorial of a number >_<

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0no, you would not, not a chance, everyone is surprised when I tell them I am into computers and geek stuff

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0they think I am a bodybuilder or something

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0kidding, no, in real life you it is quite easy to see I am into TECH

suzi20
 3 years ago
Best ResponseYou've already chosen the best response.0in the end noone can solve ur algorithm lol

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0lol, in other words , a geek with a pretty smile =D I guess?

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0I am just trying to confuse you all

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0then angoo striked one person, he's what do you call that thing, um, socializing thingy?

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0so guys, anyone wants C++ lessons? *eating a bannana*

suzi20
 3 years ago
Best ResponseYou've already chosen the best response.0BMF u made a HERO confused, well done

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0he has done it before lol

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0bananas get you excited LOL

lokisan
 3 years ago
Best ResponseYou've already chosen the best response.0I never want to see C++ or any C again

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0I have never even seen C++ or C

lokisan
 3 years ago
Best ResponseYou've already chosen the best response.0If I can't do it with pen and paper or on excel, i get someone to write up a program

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0C++ is very simmilar to java

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0try try try again and again

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0that's what I've heard andy

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0but they say C++ is alot more easier than Java

lokisan
 3 years ago
Best ResponseYou've already chosen the best response.0my problem is that it's so finicky. so much room for error. one mistake and you can spend hours looking for it.

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0and, no, bananas do NOT get me excited, they are just fruit

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0lol, they get you excited :)

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0nah, java and C++ are exactly of same difficulty

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0they have a very longnamed chemical that I don't remember that gives you energy ^_^ same thing with chocolate and barely. I forgot the name hmm wait

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0just that, java is used for one thing, and C++ in other situations

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0Oh yeah, Tryptophan! :) that's what it's called

lokisan
 3 years ago
Best ResponseYou've already chosen the best response.0Tryptophan puts you to sleep!

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0banana , choco, and barely = goog for heart = because they contain serotonin.

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0lol, it's in bananas, chocolate and barely lol

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0I have attended an Organic Chemistry course for fun ^_^

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0Java: Finances Web Simple boring games C++ Operating Systems Almost all comercial software Bank server software Airplane software 3D games (like for PS3, PC...)

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0but they're using java now

suzi20
 3 years ago
Best ResponseYou've already chosen the best response.0folks, all of u get a job, someone asking about max domain

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0I'm not sure of the maximal domain >_<

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0nope, not everyone, java is great for smal programs, C++ is good for complex comercial ones, the multimilion ones

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0They've stopped teaching C++ though

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0do you know why? because with java it is easyer to make simple programs and dysplay simple graphics, which is good for learning, but C++ can take very long time to learn, just to draw a cube on the screen is hard

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0They say that in computer engineering, C++ will be taught and Java will be ignored.

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0anyways, languages are languages, all function the same in the end.

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0all have one place to go, all have same use.

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0stupid computer with some human intelligence

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0obedient to the rules.

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0check this, it has a simple C++ program with two 3D objects spinning aroun, AND a cpp file with the SOURCE CODe

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0so finaly you can see how C++ looks and how much code you need to do that simple stuff

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0I'll check it later , thanks

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0oh, and check this, it is more fun# =D

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0make sure to examine the code =D LOL

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0not in my current mood lol, but I will later.

nowhereman
 3 years ago
Best ResponseYou've already chosen the best response.0If you want a mathematical way, you should consider functional programming. e.g. Haskell

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0lol, finally someone has answered the question that was displayed

BecomeMyFan=D
 3 years ago
Best ResponseYou've already chosen the best response.0ok, I will check out haskell, shouldn't be hard after learning C++

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0if you're good at the previous ones, then the new ones will be easily absorbed by you ^_^

nowhereman
 3 years ago
Best ResponseYou've already chosen the best response.0Well, it is, after all, a different programming paradigm. You not only have to learn new names and a little syntax, but you also have to think differently about your algorithms — in a more mathematical way.

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0yeah, algorithms algorithms

sstarica
 3 years ago
Best ResponseYou've already chosen the best response.0I'm off to go soon, later :)
Ask your own question
Ask a QuestionFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.