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 LogicPro Your Own Question
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13128
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
29751445
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

1.Write the C statement required to declare the variable balance

This answer was rated:

1.Write the C statement required to declare the variable balance which is going to be used to store a money value.
2.Write only one C statement that declares the variable LastName and sets its initial value to J.
3.Provide the values of a and b at the various points (right after each instruction is executed) in this program segment.

a = 1;
b = 1;

++a; a = _____ b = _____
++b; a = _____ b = _____

a = a * b++; a = _____ b = _____
c = a-- + --b ; a = _____ b = _____ c=_______

4.Declare the constant e = 2.72 to be used within a C program.
5.Mark as correct (C) or incorrect (I) in the blank the following comment statements.

//declare variables ___
/initialize variables ___
/* multiply variables together */ ___
*/ This program finds the average of three numbers. */ ____
6.In order to get the following output in the screen:

I am 25 years old
My last name initial is M

complete the printf statements using the declared variables in the following program segment:

int age=25;
char init=’M’;

printf(
printf(

7.Write only one printf statement to get the same output as question # XXXXX

printf(

8. Complete the program segment below.

char grade;
printf(“Enter your final grade letter for ELTR-310\n”);
scanf(

printf(“Your final grade in ELTR-310 is: );

9.Complete the program segment below:

int age;

printf(“Please enter your age: \n”);
scanf(“%d”, &age);

If ( )
printf(“You are not allowed to consume alcoholic drinks”);

else
printf(“Yes, you can have a beer”);
10.Complete the following program segment such that it prints out odd numbers from 1 to 199 and then prints “Done”.


int a;
for ( )
printf(“%d “, a);
printf(“Done”);
Hi,
Welcome here.
My name is XXXXX XXXXX I will help you.

If you have any file(s), Zip all files; upload the zipped file to http://wikisend.com or http://ge.tt and post download link here. Formatting is messed up.

Customer: replied 3 years ago.


can you read it?

yes
Customer: replied 3 years ago.

ok about how long do you think it will take?

When do you need this answer?
Customer: replied 3 years ago.

would like it within the next 15-20 min if possible


 

please wait. I will try my best.
Download answer from here: C Statements.docx

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers.

It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

Remember, if for any reason you are unsatisfied with my answer, we can continue the conversation until you’re satisfied and rate my answer as excellent. I can address follow up questions on original requirements at no extra charge and I’m always here to help.

Thank you for using this site!

Customer: replied 3 years ago.


im having a hard time viewing the doc.

THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
LogicPro and 4 other Homework Specialists are ready to help you
Let me know if it works for you, or in which format do you need the answers?
Hi again,
Just following up with you to see how everything is going and if you have more questions for me.
You can ask me again using "For LogicPro only" at the start of your questions like you do to get instant answers.
It will ensure that question is for me.
Please bookmark my profile page:
http://www.justanswer.com/homework/expert-logicpro/
so you can come back and ask me a question anytime.
If you need any additional information on this answer, please don't hesitate to ask by clicking on 'Reply to Expert', and I will reply as soon as possible.
I hope you found the information in my answer helpful, and if so, please let me know, here. Thank you!
Thanks very much for using Just Answer!
Best wishes
LogicPro