this is the output of the program.

Enter num1: 2
Enter num2: 2
Enter number of iteration: 2
1=1.5
final answer=2.5


we are assigned to do the program . it's really difficult .

Recommended Answers

All 2 Replies

Can you explain what the iteration is for and what does "1 = 1.5" and "final answer = 2.5" mean

You'll have to elaborate on the equations/functions you were given in your assignment before we'll have any clue about how to help you.

Even then, you'll have to do some of the work yourself. We're not going to just hand you a ready-made solution to turn in to your prof.

I suggest you start by writing a program that can take the 3 initial inputs, then expand from there.

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.