Create a program like simsimi program with at least 10-20 questions, the program would interact with the user some important details about the user.
#include <iostream>
int main()
{
int age, height, weight;
std::string name, favourite_food, book, country, city, gender, last_visited_city;
std::cout << "What is your name: ";
std::cin >> name;
std::cout << "What is your gender: ";
std::cin >> gender;
std::cout << "What is your age: ";
std::cin >> age;
std::cout << "In what country do you live: ";
std::cin >> country;
std::cout << "What is your favourite food: ";
std::cin >> favourite_food;
std::cout << "What is your favourite book: ";
std::cin >> book;
std::cout << "What is your height: ";
std::cin >> height;
std::cout << "What is your weight: ";
std::cin >> weight;
std::cout << "City where do you live: ";
std::cin >> city;
std::cout << "What is your last visited city: ";
std::cin >> last_visited_city;
return 0;
}
Comments
Leave a comment