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 jatechexpert Your Own Question
jatechexpert
jatechexpert, Computer Software Engineer
Category: Programming
Satisfied Customers: 1433
Experience:  Master of Computer Application plus 5+ year experience in Software development
51205519
Type Your Programming Question Here...
jatechexpert is online now
A new question is answered every 9 seconds

May name is vunene. #include #include

Customer Question

Hi Pearl,
JA: What programs and versions are you using?
Customer: Yes, May name is vunene.
JA: What is your ideal outcome? How can we solve this for you?
Customer: #include <iostream>
#include <string>
using namespace std;
int main()
{
float sales = 0.0;
float commission = 0.0;cout << "Enter a sales amount ";
cin >> sales;while(sales > 0.0)
{
commission = sales * 0.1;cout << commission << endl;
commission++;
}
return 0;
}
JA: Anything else you want the programmer to know before I connect you?
Customer: It's an endless code, How to fix that error!
Submitted: 11 months ago.
Category: Programming
Expert:  jatechexpert replied 11 months ago.

Hi

Thanks for using justAnswer.com

My name is ***** ***** will help you

Customer: replied 11 months ago.
C++
Customer: replied 11 months ago.
I'm new in Introduction to programming c++!
Customer: replied 11 months ago.
2. Question: write a function that receives as input a person's first names and surname, and then display just the initials for example, if the input is John Peter Does, the initials JPD must be displayed.Member functions of the string class to manipulate the value of string objects are provided on the next page?
Expert:  jatechexpert replied 11 months ago.

Hi

In your while loop, the code will execute whenever you enter the sales amount >0. If you enter the value for sales ≤0, it exit from the loop. If you want to enter a positive value for sales, then you give the code as

while(sales<=0), it will execute

Customer: replied 11 months ago.
There is no output cout << commission << endl;?
Customer: replied 11 months ago.
R 665 Paid with credit card ending in 9508
Order ID:
16759504-470
Amount after question is posted
R 665
Total
R 665
Customer: replied 11 months ago.
That amount is paid!!!1
Expert:  jatechexpert replied 11 months ago.

Hi

What value you give for sales

You post the question 1)

Customer: replied 11 months ago.
I give it 20.
Expert:  jatechexpert replied 11 months ago.

Hi

Can you post the question

Customer: replied 11 months ago.
include <iostream>
#include <string>
using namespace std;
int main()
{
float sales = 0.0;
float commission = 0.0;cout << "Enter a sales amount ";
cin >> sales;while(sales <= 0.0)
{
commission = sales * 0.1;cout << commission << endl;
commission++;
}
return 0;
}"Do I have to ask one questiong?
Expert:  jatechexpert replied 11 months ago.

Yes

Customer: replied 11 months ago.
3. Consider the following C++ code segment below:int result(int valueP)
{
int a = 2;
int count = 0;
while(count < valueP)
{
a += count + a / 2;
count += 2;
}
return a;
}Demosnstrate the execution and output of the program by drawing a variable diagram that traces each line of code if the value of valueP is 6. You are requested to draw a variable diagram to illustrate what the code does! I don't under stand variable questions!
Expert:  jatechexpert replied 11 months ago.

Can you please wait one day. I will send answers for all these with variable diagrams

Customer: replied 11 months ago.
$52 for One Question???
Expert:  jatechexpert replied 11 months ago.

No for 2 questions with variable diagrams. Is it ok

Customer: replied 11 months ago.
I posted three questions!
Customer: replied 11 months ago.
This is the second question:2. Question: write a function that receives as input a person's first names and surname, and then display just the initials for example, if the input is John Peter Does, the initials JPD must be displayed.Member functions of the string class to manipulate the value of string objects are provided on the next page?
Expert:  jatechexpert replied 11 months ago.

OK. I will do these for your suggested amount. Please check tomorrow this same time. Do you agree with this

Customer: replied 11 months ago.
This is my 3rd Question? Attached.
Customer: replied 11 months ago.
On the 1st Question: There is no output when I enter 20?Enter a sales amount 20Process returned 0 (0x0) execution time : 6.516 s
Press any key to continue.
Expert:  jatechexpert replied 11 months ago.

I got 3 questions. Please check tomorrow this same time for the answers

Customer: replied 11 months ago.
Hi,Tomorrow will be too late!, your web says 24/7. I said "while(sales <= 0) also does not execute". This is not acceptable.May I get my refund please! Tomorrow is late!! late!! please!!!Thanks
Vunene
Expert:  jatechexpert replied 11 months ago.

How much time you can wait

Customer: replied 11 months ago.
Hi,May you please refund me! I was looking for solutions urgently, it's late now!!Please refund me!!!!!Thanks
Vunene
Expert:  jatechexpert replied 11 months ago.

It is ready now

Expert:  jatechexpert replied 11 months ago.

Hi

here is the answer link below

http://wikisend.com/download/972042/Answers.rtf

hope this helps

For future questions, post your questions starting with my name "For Jatechexpert"

and Bookmark my profile page

http://www.justanswer.com/computer/expert-jatechexpert/?rpt=3800

Go to this page and ask questions at any time

Customer: replied 11 months ago.
Hi,
Who requested question 2and 3?It's not matching with my request!I attached the imaged on my third question and your solution are wrong!May you please refund half of my payment! Thanks for question 1 though!I paid $52, give me back half of it, I'm paying for question one only!!Is not longer going to help me as I'm writing my exam tomorrow morning.Thanks
Vunene
Expert:  jatechexpert replied 11 months ago.

Sorry I am opting out this

Customer: replied 11 months ago.
Opting my request! "Refund"!
Customer: replied 11 months ago.
Now I already out from the exam without your help and I paid! My refund please!!!
Customer: replied 10 months ago.
Dear Sir/MadamI hope this email finds you well.Using your web you "justanswer.com", I was not aware I was throwing my money. I land money from people you get it for free!May you please pay half of my payment!Regards
Vunene