Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Score
//gcc 5.4.0 #include <stdio.h> int main(void) { char studentName[50]; char courseName[50]; char professor[50]; int room; char semester[40]; int year; float score; printf("Please enter student name: \n"); scanf("%s",studentName); printf("Please enter name of the course: \n"); scanf("%s",courseName); printf("Please enter professor teaching name of the course: \n"); scanf("%s",professor); printf("Please enter room:\n"); scanf("%d",&room); printf("Please enter semester:\n"); scanf("%s",semester); printf("Please enter year:\n"); scanf("%d",&year); printf("Please enter score:\n"); scanf("%f",&score); return 0; }
run
|
edit
|
history
|
help
0
fgets and basic string manipulation
a3
fgets and basic string manipulation
18BCE2182 ASSESS_2 Q3
ele709 lab 3.2
150116_MatrizOrdenada
ptr[]
Assignment 5 part 2 v2
is_there_segfault
Welcome1