Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~8K People Reached
About Me

i can't say mch abt myslf rili...cos i dn't enjy doinq dat. Anyway ful name is samson dadson jnr. kwesi, one thinq abt me is i dn't knw hw to qive up, dou its qud one shd knw whn to qive up and i'm lukinq 4wrd to sum1 who can teach me dat

Favorite Forums
Favorite Tags

15 Posted Topics

Member Avatar for kiyo_1
Re: how

Well you need to understand the if syntax. You probably mean to write `if matirial == 'math' or matirial == 'Math' ...`. I won't talk about the use of `in` since you're not using that in your code, but I'll advice you read on that. It's much cleaner and efficient.

Member Avatar for samson.dadson.3_1
0
232
Member Avatar for vegaseat

I'm sure it has nothing to do with the code pasted @Zzucker. Just check your use of tabs and spaces and make sure you've aligned everything right. Python is so particular about indentation (It's part of the syntax).

Member Avatar for samson.dadson.3_1
1
2K
Member Avatar for Gl753

to prevent future errors, total should be of type double, average should be of type double too.. and divide by 10.0 instead of 10.

Member Avatar for samson.dadson.3_1
0
229
Member Avatar for Markyboy

there should be no semi colon after the if expression. just after the statements. check that too. if(expression) statement; //not this way: if(expression); statement;

Member Avatar for samson.dadson.3_1
0
224
Member Avatar for samson.dadson.3_1

the problem I have here is: when I input an integer it works fine, but when i input any other thing, it doesn't give me a chance to input again when the loop iterates, it just keeps printing "error type the right thing" to the screen even though "cin var" …

Member Avatar for samson.dadson.3_1
0
2K
Member Avatar for heather_h56

I can help you if you show me what you've done so far. Post your and lemme see if I can clear the mess :)

Member Avatar for redtribal23
0
211
Member Avatar for Patrick_7
Re: JAVA

I guess you're very lucky to have gotten that answer since you just pasted your question here

Member Avatar for Slavi
-1
137
Member Avatar for notywq

you've done it right this time but you've assigned "true" to "isVowel.isVowelValid(letter)" rather than compare. Use "==" not "="

Member Avatar for zolymo
0
651
Member Avatar for q8girl24
Member Avatar for mxwarning

I think you should create a method that calculates the value of the inventory rather than calculating it in the main and also as an instance variable in your class pizza double totalInventoryValue(){ return poductInstock * productPrice; } then call this method in your main to get the value System.out.println(nf.format(totalInventoryValue()));

Member Avatar for mxwarning
0
432
Member Avatar for wbbb54

i'm interested in solving this problem but I'm more interested in you being able to solve it and solve similar ones so try something, put what you know together and everyone here will be willing to help you make your code work

Member Avatar for samson.dadson.3_1
0
316
Member Avatar for jordan.nunnery.75

at least open notepad and write "class class_name{ }" it'll go a long way to help you

Member Avatar for samson.dadson.3_1
0
126
Member Avatar for syedmuaz.hassan.3

please read a little something about this platform before you ask for help. Like Ancient Dragon will say "we don't do your homework for you". Programming demands that you try, retry and think harder before you ask for help :)

Member Avatar for samson.dadson.3_1
-3
194
Member Avatar for silvercats

I prefer the first style :) the second style increases the lines of code. Also the second style makes it feel like the first line is separate from the ones that come after it

Member Avatar for samson.dadson.3_1
0
507
Member Avatar for jordan.nunnery.75

I think you are in the wrong place. First learn something lil about java, try out something, and return here for help :) or try googling the source code if you're not interested in programming

Member Avatar for samson.dadson.3_1
-1
152

The End.