write a c++ program to display your name 15 times using while loop
Answers
Answered by
4
Answer:
- C++ Program to Print the Name of the User using Streams
- * C++ Program to Print the Name of the User using Output Stream.
- #include <string>
- std::string firstname;
- std::cout << "Hello User, Enter your first name.\ n ";
- std::cin >> firstname;
- std::cout << "Hello " << firstname.
- <<". It was nice to know your name!\ n";
follow my best friend
abidrizvi 5110
just click on my following option and follow her
Answered by
2
Answer:
#include <iostream>
using namespace std;
int main()
{char a;
while(a<=15)
{
cout<<"type your name"<<endl;
a++;
}
}
Similar questions
India Languages,
2 months ago
Science,
2 months ago
English,
2 months ago
English,
5 months ago
Social Sciences,
5 months ago
English,
9 months ago
History,
9 months ago