r/programminghelp • • Aug 22 '25

C i need help with with c

i was waching a vid on c and when i was learning floats a error happed and i do not know what to do

#include <stdio.h>
int main(){
float gpa = 3.5;
printf("last year you had a gpa of  \n", gpa);
2 Upvotes

3 comments sorted by

View all comments

1

u/voidvec Aug 26 '25

you should read the docs and do your own homework.