write c programming of this question

Recommended Answers

All 2 Replies

Is that an order towards us?
Why don't YOU write it and come back with a question if you encounter problems.
Then we will be happy to help.

Read a pair on integers?

int a, b;
scanf("%i %i", &a, &b);

Easiest homework question ever. This thread can now be closed :)

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.