From 4cc9959010a313a9579c698279cf4290bcf94fd2 Mon Sep 17 00:00:00 2001
From: vyvyvyThao <wn73@drexel.edu>
Date: Mon, 3 Feb 2025 21:32:00 -0500
Subject: [PATCH] update
---
2-StudentDB/2-StudentDB/sdbsc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/2-StudentDB/2-StudentDB/sdbsc.c b/2-StudentDB/2-StudentDB/sdbsc.c
index 6861a49..ff630c9 100644
--- a/2-StudentDB/2-StudentDB/sdbsc.c
+++ b/2-StudentDB/2-StudentDB/sdbsc.c
@@ -387,7 +387,7 @@ void print_student(student_t *s){
float coverted_gpa = s->gpa / 100.0;
printf(STUDENT_PRINT_HDR_STRING, "ID", "FIRST NAME", "LAST NAME", "GPA");
- printf(STUDENT_PRINT_FMT_STRING, s->id, s->fname, s->lname, coverted_gpa);
+ printf(STUDENT_PRINT_FMT_STRING, s->id, s->fname, s->lname, converted_gpa);
}
/*
--
GitLab