This week you fixed broken code and escaped two vaults. Today you build something from scratch: a program that prints a trading-card-style profile of YOU. Every line uses a skill from this week — variables, data types, concatenation, and operators. When it runs, it should look good enough to screenshot.
This is an example — yours should be about you, styled your way. Change the border characters, the stats, the flex line. Make it yours.
============================= PLAYER CARD: JORDAN M. ============================= Grade: 11 Fav language (so far): Java Hours slept last night: 6 Age in months: 192 Days until graduation: 634 ============================= "Compiles on the first try." =============================
int or double).+.*, /, -, or %) — don't just type your age in months, make Java calculate it: age * 12.+=, or compute something with double math (your GPA, your free-throw percentage...).Copy this in, run it, then build inside main. Declare variables at the top, print the card below.
public class AboutMeCard
{
public static void main(String[] args)
{
// 1. DECLARE your variables here (String, int, double)
// 2. PRINT your card here using your variables
System.out.println("=============================");
System.out.println("=============================");
}
}
Before you show Mr. Babb: paste your whole program below and hit the button. It checks your code against the requirements — green means go.