Untitled

 avatar
unknown
plain_text
3 years ago
526 B
2
Indexable
#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;
}
Editor is loading...