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

Philip is a football player who runs a pass route that takes a right angle bend as shown in the diagram below. Which do you think will have the greater magnitud
A researcher is studying the plants and animals in a particular biome. The observations include ferns, large woody vines, monkeys, sloths, and boa constrictors.
For each of the number lines, write an absolute value equation in the form |x-c|=d, where c and d are some numbers, to satisfy the given solution set. 1. 5 and
Find each value 10/9 of 72
Explain the negative and positive effects of gentrification.
A company has employees who write down passwords, which should be kept private, on sticky notes. Given this scenario, what should the IT security department imp
Find the area plllllllllssssss
Can someone please help me with this?
Help me please!!! Can somebody help me
please anyone who knows