From d3d65c723429d53bca33e68fc525843364d931fb Mon Sep 17 00:00:00 2001 From: Javi Date: Mon, 7 Feb 2022 11:44:51 -0800 Subject: [PATCH] Bruh --- main.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/main.cpp b/main.cpp index bb63cb8..a14a4ba 100644 --- a/main.cpp +++ b/main.cpp @@ -7,19 +7,19 @@ int main() string name; char last initial; - cout<<"Hi. What is your first name? " - cin<>last initial; - cout<<"Thanks, "<>last initial<>age>>endl; if( age < 12 ) { cout<<"Hey kid, how do you like school?\n"; } - if( age < 18 ) + else if( age < 18 ) cout<<"Cool!"endl; cout<<"How's highschool going?\n"; else( age >= 18 );