Back to Problem List

Profile Card


Create a formatted profile card for someone given a name, age, and favorite food

INPUT FORMAT:

The first line has someone's name

The second line has their age

The third line has their favorite food

OUTPUT FORMAT:

The first line is "==== PROFILE ===="

The second line has "Name:" then their name

The third line has "Age:" then their age

The fourth line has "Favorite:" then their favorite food

The fifth line is "================="

SAMPLE INPUT:

Bob
13
pizza

SAMPLE OUTPUT:

==== PROFILE ====
Name: Bob
Age: 13
Favorite: pizza
=================

Write code below: