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
English,
4 months ago
Physics,
4 months ago
Computer Science,
4 months ago
English,
8 months ago
Social Sciences,
8 months ago
English,
1 year ago
History,
1 year ago