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

Which factor of x2 + 8x- 48? a.(x-6) b.(x+4) c.(x-16) d.(x+12)
Two books are used to model tectonic plates. The type of boundry represented by the two books is a (_) boundry. a.convergentb.divergentc.transform​
I found out 1 help i will up the points and u get brainliest for the first to answer
You are interviewing a young man about his upbringing. he tells you that his parents were lenient and permissive regarding his behavior when he was very young,
Substitution. 3x + 2y = 12 y = 2x – 1
Los profesores le da You Answered le daleIncorrect or extra word daIncorrect or extra word (to us) mucha tarea. incorrect Yo You answered (blank) (to them) rega
what are the three challenges of life for organisms
Inside a star, the force of gravity is balanced by the?
(20 Points) When you multiply a number by a percent, you find a sum. True or False
Use completing the square to solve for x in the equation (x-12)(x+4)=9