From 725da112d8857372a94ac8ddbcdbd65208841577 Mon Sep 17 00:00:00 2001 From: jj20git Date: Wed, 2 Dec 2020 19:39:15 -0600 Subject: [PATCH] Added array bracket, replaced print with printf on line 10, replaced barcket on line 10 to parenthesis, changed colon at end of line 10 to semicolon, replaced integer on line 13 with int, added semicolon to end of line 15. --- buggy.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/buggy.c b/buggy.c index 033b3e4..6e16154 100644 --- a/buggy.c +++ b/buggy.c @@ -5,13 +5,13 @@ void main() { - char password[80); + char password[80]; - print("Create a password: "]: + printf("Create a password: "); scanf("%s", password); - integer passwordlength; + int passwordlength; passwordlength = strlen(password); - printf("Your password is %s and %i characters long', password, passwordlength) + printf("Your password is %s and %i characters long", password, passwordlength); }