hammadmughal2019 hammadmughal2019
  • 26-01-2021
  • Computers and Technology
contestada

write a program that display your name c++

Respuesta :

QuartzWarrior
QuartzWarrior QuartzWarrior
  • 26-01-2021

Answer:

#include <iostream>

#include <string>

int main() {

std::string name;

std::cout << "Please enter a name: ";

std::cin >> name;

std::cout << "Hello " << name<<"!";

}

Explanation:

Asks for your name and adds Hello {name}!

Answer Link

Otras preguntas

Translate these words below to Spanish. When you lose someone you love you gain an angel.
Will mark brainiest
Amphetamines are dangerous to take before and while driving. They ___________. They are only for people over 21 They are always illegal drugs Make the driver
If a single-load Series circuit has one 20 Ohm bulb, and asecond, identical, 20 Ohm bulb is added in parallel withthe first, what will be the effect on the brig
Which of the following is not a part of DNA extraction? a. Separate DNA from protein and debris b. Isolate concentrated DNA c. Collect cheek cells d. Add en
Which graph shows all the values that satisfy 2/9 x+3 >4 5/9
Your ability to drive is affected __________ A. When you reach a 0.08 B.A.C. B. After you have three drinks within one hour. C. After your first drink.
what is the definition of union and intersection
The rectangle has rotational symmetry of order?
Which of the following is not an organ of the urinary system? A. kidney B. collecting duct C. ureter D. urinary bladder