Write a program that prints this message “Pakistan is my country” ten times using while loop.
#include <iostream>
# include <conio.h>
using namespace std;
int main()
{
int i;
while (i<=10)
{
cout<<"\n Pakistan is My country:";
i++;
}
getch();
}
Find Tons of C++ Programming examples, projects with code. Also find books solutions.
0 Questions:
Post a Comment