![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Aug 2007
Posts: 2
Rep Power: 0
![]() |
What's wrong with my code?
Hi everyone,
I try to make a program that will ask the user for their ice cream flavor and the most they can have is three scoops. It needs to throw an exception if they do not go with the five flavors and if they go beyond 3 scoops. Also right at the begining of testing it will get a bug error immediatly with no build errors..and then crash..need help! Could someone tells me what's wrong with my code below? Thanks! csharp Syntax (Toggle Plain Text)
Last edited by big_k105; Aug 19th, 2007 at 7:05 PM. Reason: Added highlight tag |
|
|
|
|
|
#2 |
|
Expert Programmer
|
Put it in code tags and maybe you'll get a helpful response.
|
|
|
|
|
|
#3 |
|
Programming Guru
![]() ![]() ![]() |
Agreed with Booooze... I didn't bother reading the code because its not in the [ CODE ] tags.
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#4 |
|
Professional Programmer
|
Better yet, wrap it in [highlight=csharp][/*highlight] - without the * offcorse.
__________________
Don't take life too seriously, it's not permanent ! |
|
|
|
|
|
#5 |
|
Newbie
Join Date: Aug 2007
Posts: 2
Rep Power: 0
![]() |
Hi there,
What do you mean by code tags??? I know that I'm not as good as you are in programming... |
|
|
|
|
|
#6 |
|
Newbie
Join Date: Aug 2007
Posts: 2
Rep Power: 0
![]() |
Hi there,
Everybody's speaking to write my code in code tags... what is it? Thanks! |
|
|
|
|
|
#8 |
|
Newbie
Join Date: Aug 2007
Posts: 2
Rep Power: 0
![]() |
Hi There,
How do I do that? I just starded programming... Tx! |
|
|
|
|
|
#9 |
|
Programmer
Join Date: Aug 2007
Location: Ohio
Posts: 46
Rep Power: 0
![]() |
lol hi sparow, i haven't read your problem yet but when they say code tags they mean on here when you post (in normal post not quick reply) you will see a little # symbol in the tool bar under the title filed click it and it will give you two tags that say code and /code with brakets around it. put your code in that for people to view.
System.Console.WriteLine("your code will apear like this.");
System.Console.ReadLine();
/*see
code
tags*/
// are cool
__________________
Good better best, never let it rest, untill your good is better and your better is the best. |
|
|
|
|
|
#10 |
|
Programmer
Join Date: Aug 2007
Location: Ohio
Posts: 46
Rep Power: 0
![]() |
...... this question is stright from a solve it problem in Visual C#.net by: Joyce Farell ...... im not even attempting to help
__________________
Good better best, never let it rest, untill your good is better and your better is the best. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is wrong with this code? | c0ldshadow | Visual Basic .NET | 5 | Dec 5th, 2005 5:37 PM |
| How to post a question | nnxion | C++ | 10 | Jun 3rd, 2005 11:53 AM |
| How to post a question | nnxion | C++ | 0 | Jun 3rd, 2005 8:55 AM |
| How to post a question | nnxion | C | 0 | Jun 3rd, 2005 8:55 AM |
| Any ideas what i've done wrong? (Newb C Programmer) Code included | Ramlag | C++ | 10 | Mar 22nd, 2005 1:57 PM |