pls i ask a some quistion help me
write a progam that display pakistan 10 time by using for loop

Pakistan is a big country to display 10 times in a for loop.
What is the code you already have and with what part do you have problems?

A for that do something 10 times can be written like this:

for(int i=1; i<=10; ++i)
{
   //...
}

It's amazing how early on people just give up trying to learn C++ themselves and go online to beg for code. I mean, this is probably lesson 2 or 3?

@Nick Evan: don't know if you followed this link

DISPLAY THE FACTORS AND THEIR COUNT FOR A GIVEN NUMBER.

SAMPLE DIALOGUES:

1

Type a number: 9
The factors of 9 are 1,3,9.
There are 3 factors.

2

Type a number: 12
The factors of 12 are 1,2,3,4,6,12.
There are 6 factors.

can you guys help me ?

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.