How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Brandon M. Your Own Question

Brandon M.
Brandon M., Web Designer
Category: Programming
Satisfied Customers: 6977
Experience:  Web Design for 10 years, HTML, XML, PHP/MySQL, Perl, JavaScript, CSS
12024030
Type Your Programming Question Here...
Brandon M. is online now
A new question is answered every 9 seconds

Hello! I am trying to come up with a basic program where the

This answer was rated:

Hello!
I am trying to come up with a basic program where the user inputs the length and width of a rectange and the program outputs both the area and perimeter. The program must contain a function. Can you help me with this please?

Brandon M. :

Hello and welcome to JustAnswer! My name is XXXXX XXXXX I would be glad to assist you with your issue today. Please note that I am in eastern time (UTC -5:00) and am generally online between the hours of 10 AM and 4 PM and some evenings between 7 PM and 11 PM.

Brandon M. :

What language are you working with?

Customer:

My teacher did not specify a language. She just wants us to write out everything. We have not learned specific languages yet.

Customer:

Oh, I am in the midwest, so I am an hour behind your timezone.

Customer:

Hi!
I got an email saying that you had answered my question, but I don't see the answer anywhere.

Brandon M. :

So, you just need to basically say what you want to do in words?

Customer:

Yes, please.

Brandon M. :

Declare rectLength, rectWidth, rectArea, rectPerimeter as Float
Main Module
Call GetInputs

Brandon M. :

Oops, my bad. Just a sec.

Brandon M. :

Something like this maybe?

Customer:

That looks awesome, thank you so much!

Brandon M. and other Programming Specialists are ready to help you