Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
526 B
0
Indexable
Never
#include <iostream>
#include <string>
using namespace std;

int main()
{
	string name, colourHair;
	int age, height;
	cout << "Input your name: ";
	cin >> name;
	cout << '\n' << "Input your age : ";
	cin >> age;
	cout << '\n' << "Input your hair colour: ";
	cin >> colourHair;
	cout << '\n' << "Input your height: ";
	cin >> height;
	cout << "Your form: ";
	cout << "Your name: " << name << '\n' << "Your age: " << age << '\n' << "Your hair colour: " << colourHair << '\n' << "Your height: " << height;
}