Im having trouble with this program. I attached a picture of what is required. Thanks for any pointers you guys :)

p.s. I'm very new to this.

Recommended Answers

All 6 Replies

how about you give it a go, and see what happens. Try your best first.
Think about this in small steps.

thanks for the pat on the back. ill try my hardest and report with any problems

On top of it your homework image is not readable , post the problem, post your code , else it is not possible to provide any help.

You will need to use output and input

cout<<....;
cin>>....;

and also if statements to check if the user entered the correct answer.

if( //user input == correct answer)
cout<<"correct";
else
cout<<"wrong";

I hope that can get you started in the right direction.

On top of it your homework image is not readable

What do you mean? Perfectly readable from here. Perhaps you need to buy some glasses! :icon_wink:

hello my name is quila and i need help with my math homework

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.