Computer Science, asked by vaanubabu, 5 months ago

write a c++ program to display your name 15 times using while loop​

Answers

Answered by jaanusingh442
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 sohamkonar12
2

Answer:

#include <iostream>

using namespace std;

int main()

{char a;

while(a<=15)

{

cout<<"type your name"<<endl;

a++;

}

}

Similar questions