Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

hba Group Title

int b1, b2, h; float area; Console.WriteLine("please enter b1"); b1=int.Parse(Console.ReadLine()); Console.WriteLine("please enter b2"); b2=int.Parse(Console.ReadLine()); Console.WriteLine("please enter h"); h=int.Parse(Console.ReadLine()); area = (b1 + b2) * h / 2; Console.WriteLine(area); Console.ReadLine();

  • one year ago
  • one year ago

  • This Question is Closed
  1. hba Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    @ajprincess

    • one year ago
  2. Voidus Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Is this in a method?

    • one year ago
  3. KonradZuse Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Idk why you are using the Console, but I would use Java.Util.Scanner instead.... http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Scanner.html

    • one year ago
  4. hba Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    i did it thanks anyways.

    • one year ago
  5. KonradZuse Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    with scanner or console?

    • one year ago
  6. hba Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    With console.

    • one year ago
  7. hba Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    Its not Java,Its C#

    • one year ago
  8. KonradZuse Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    oic :O.

    • one year ago
  9. hba Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    See i changed it lol,I was just acting stupid :P

    • one year ago
    • Attachments:

See more questions >>>

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
  • 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.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.