English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

All categories - 27 December 2006

Arts & Humanities · Beauty & Style · Business & Finance · Cars & Transportation · Computers & Internet · Consumer Electronics · Dining Out · Education & Reference · Entertainment & Music · Environment · Family & Relationships · Food & Drink · Games & Recreation · Health · Home & Garden · Local Businesses · News & Events · Pets · Politics & Government · Pregnancy & Parenting · Science & Mathematics · Social Science · Society & Culture · Sports · Travel

I need to buy some songs!! Thanks for your help!!

2006-12-27 04:44:48 · 10 answers · asked by ACTiNGisLiFE 3 in Music & Music Players

im having trouble with this code can anyone tell me what I'm doing wrong?

using System;

namespace JenkinsNutShop
{

class NutSales
{

static void Main()
{
// this is where I am listing the name of the business:
Console.WriteLine("JENKINS NUT SHOP");

string customerName;
double pounds;
double subTotal = 0;
string nutName = "";
char nutType;
double totalPrice;
double tax;




GetUserInput(out customerName, out nutType, out pounds);
CalcNutCosts(pounds, nutType, ref subTotal, ref nutName, out totalPrice, out tax);
DisplayReceipt(pounds,nutName,subTotal, tax, totalPrice);
}

public static void GetUserInput(out string customerName, out char nutType, out double pounds)
{
string userin;
// Prompting user for type of nuts they want to purchase:
Console.WriteLine(); //this is making a blank line
// Prompting user for the number of pounds they are ordering :
// Prompting user to input pounds of puchase

Console.Write("Customer name: ");
customerName = Console.ReadLine();
Console.WriteLine("What type of nuts would you like?");
Console.WriteLine("Please type an upper case letter or lower case letter to represent the nuts you wish to buy");
Console.WriteLine("Type in the letter \"C\" for Cashews");
Console.WriteLine("Type in the letter \"A\" for Almonds");
Console.WriteLine("Type in the letter \"P\" for Peanuts");
Console.WriteLine("Type in the letter \"W\" for Walnuts");
Console.WriteLine(); // enters a black line
Console.Write("Nut Type: ");
userin = Console.ReadLine();
nutType = Convert.ToChar(userin);
Console.Write("How many pounds would you like? ");
userin = Console.ReadLine();
pounds = Convert.ToDouble(userin);





}

public static void CalcNutCosts(double pounds, char nutType, ref double subTotal, ref string nutName, out double totalPrice, out double tax)
{
const double CASHEWS = 6.50;
const double ALMONDS = 7.25;
const double PEANUTS = 2.39;
const double WALNUTS = 2.79;

switch(nutType)
{
case'C':
case'c':

subTotal = pounds * CASHEWS;
nutName = "Cashew";
break;

case'A':
case'a':
subTotal = pounds * ALMONDS;
nutName = "Almonds";
break;

case'P':
case'p':
subTotal = pounds * PEANUTS;
nutName = "Peanuts";
break;


case'W':
case'w':
subTotal = pounds * WALNUTS;
nutName = "Walnuts";
break;

tax = subTotal * .0675;
totalPrice = subTotal + tax;




}
}








public static void DisplayReceipt(double pounds,string nutName,double subTotal, double tax, double totalPrice)
{


Console.WriteLine();
Console.WriteLine();

Console.WriteLine("Your receipt:");
Console.WriteLine();

Console.WriteLine("{0} pounds of {1} nuts. Subtotal \t {2:C}", pounds, nutName, subTotal);
Console.WriteLine(" Tax \t {0:C}",tax);
Console.WriteLine(" Total \t {0:C}",totalPrice);

Console.WriteLine();
Console.WriteLine("Thank you for shopping at Jenkins Nut Shop \n \n");
}
}
}

2006-12-27 04:44:40 · 4 answers · asked by Sad Mom 3 in Programming & Design

i need it fast for a long and boring essay thanks!

2006-12-27 04:44:34 · 13 answers · asked by doddlemaniac 1 in Mathematics

it was an email that was being sent out to tons of people about a mounth or two ago.

2006-12-27 04:44:34 · 8 answers · asked by Anonymous in Music

Okay, so I got an ipod nano for Christmas... My question is I have tons of music I have ripped from friends cds and bought from various places online... Already on my computer... Is there a way I can get it on my nano without buying them all again through itunes???/

2006-12-27 04:44:29 · 4 answers · asked by Fussy Duckling 1 in Music & Music Players

Pacman, Mario, etc...

2006-12-27 04:44:27 · 12 answers · asked by Jona 1 in Video & Online Games

Anyone dead or alive...

Here's mine:

Devin Townsend on Vocals
Cliff Burton on Bass
Nicko McBrain on Drums
James Hetfield on rythym guitar
Steve Vai on lead guitar
Jordan Rudess on Keyboards

2006-12-27 04:44:14 · 9 answers · asked by Next evolutionary step... 6 in Music

I CAME ON MY PERIOD DECEMBER 10 .2006 . I WENT OFF MY PERIOD DECEMBER 14 . 2006 . I HAD UNPROTECTED SEX WITH MY BOYFRIEND DECEMBER 22 .2006 & HE EJACULATED IN ME ! COULD I BE PREGNANT ? WHEN SHOULD I TAKE THE TEST IF I AM ?

2006-12-27 04:44:10 · 5 answers · asked by Anonymous in Pregnancy

it states that there is an error in the winlogon.exe and it cannot read the memory; what should I do; I cannot run the virus scan because the computer will not come on; cannot put it into safe mode either

2006-12-27 04:44:01 · 3 answers · asked by Sierragirl 1 in Laptops & Notebooks

My pug is shedding everywhere. I brush him. I have one of those tools that is suppose to help get the under coat. Any ideas will be appreciated.

2006-12-27 04:43:59 · 3 answers · asked by mel 3 in Dogs

When I say emergency i mean something serious.

2006-12-27 04:43:58 · 9 answers · asked by The Zunester 5 in Law & Ethics

would like food prices gas prices special events prime minister

2006-12-27 04:43:52 · 2 answers · asked by mona 1 in Other - News & Events

2006-12-27 04:43:50 · 6 answers · asked by loser 3 in Polls & Surveys

My son is eight months old. He's never really been sick. Of course he's had a temperature and such in reaction to shots. And he has also had Reflux since he was about a week old. But he has never had a cold or anything like that. For the past few his nose seems to always be red. I'm not extremely concerned about this. Iam just curious. We have started to believe that he may have an ear infection. If he did would that be connected to his red nose?

2006-12-27 04:43:45 · 3 answers · asked by Wiccan~Momma 3 in Newborn & Baby

2006-12-27 04:43:45 · 10 answers · asked by Anonymous in Law & Ethics

For me it's Earl from My Name is Earl. And yes, he's alot like me!

2006-12-27 04:43:42 · 13 answers · asked by Mark C 3 in Television

2006-12-27 04:43:39 · 2 answers · asked by Anonymous in Laptops & Notebooks

2006-12-27 04:43:14 · 28 answers · asked by CMB 1 in Marriage & Divorce

i read some thing about how people (especially girls) act around you if they like you through body language.
Do you honestly believe any of the following actions is true?

1) the girl will mirror things you do
e.g you slouch in a chair.. she does it.
you rest your head/neck on your arms on the table.. she does it also.

2) she will change seats/places alot
e.g everytime you sit somewhere different she happens to be sitting somewhere different too. sometimes sitting in the corner where everything is visible including you. she tries to get into your view vice versa.

3) her legs are crossed towards you and her body is facing you.
(tho i have seen ppl do this to friends casually so i dont know)

4) you look at her and you catch her lookin at you aswell.
after lookin at her she looks at the floor or her lap when she notices your looking and starts fiddling with an item e.g a tiny piece of paper or pencil or something.

5)she touches you playfully.

is it true or? anything to add lol? ty

2006-12-27 04:43:10 · 19 answers · asked by Anonymous in Singles & Dating

I know that sex isn't necessarily a timed event, but generally, how fast is considered too fast? 1 min? 3 min? 5 min? longer? shorter?

I never last very long (usually only a minute or two...), and I just want to get an idea of what is the norm.. Embarrassing!!!!!

2006-12-27 04:43:07 · 13 answers · asked by Bob B 1 in Singles & Dating

My mom said that she was going to cook tomarow night for my birthday. And she told me to decide what I wanted. But I dont really have any favorite foods. I like Italian, Mexican, and Chinese. But that is about it. It can't be expensive or hard though.

2006-12-27 04:43:07 · 11 answers · asked by Anonymous in Cooking & Recipes

UHHHH! I hate that! What do I do to stop that? (Buy new clothes? Accessories?) I had one of those days today and it seems like it wrecks my day!

2006-12-27 04:42:52 · 18 answers · asked by xoxoDewtYxoxo 3 in Fashion & Accessories

im doing the superstar hall of fame mode. my agent couldnt get me into the performance institute so i fired him. how do i hire a new one?

2006-12-27 04:42:49 · 3 answers · asked by Trevaman 2 in Video & Online Games

My friends want to go to the drag show at Club Imagination, but I'm afraid that my new boyfriend won't be comfortable there. Does anyone know anything about this club? I know I won't mind the atmosphere, but he's a macho air force guy and I want this to be a great new year's eve for us....suggestions??

2006-12-27 04:42:40 · 1 answers · asked by Anonymous in Other - Family & Relationships

please recommend tools, putty & tape. THANKS!!!

2006-12-27 04:42:37 · 5 answers · asked by joeolvera2 1 in Maintenance & Repairs

And warn them that if they don't stop interferring in other nations' affairs, the countries of the world will boycott all American goods until the year 2020, stop all American ships from entering their ports, refuse entry to all American tourists, dismantle all American-made missiles, and last but not least, board up all McDonald outlets outside the USA.

2006-12-27 04:42:33 · 22 answers · asked by Panama Jack 4 in Politics

fedest.com, questions and answers