Skip to content

πŸ“š A simple C program that collects and displays student details using scanf and printf. A part of my journey.

Notifications You must be signed in to change notification settings

karracharanteja/C-Student-Info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ“ C-Student-Info

This is my second C project β€” a program that collects and displays student details using scanf and printf.

✨ Features

  • Takes user input:
    • College name
    • Branch
    • Roll number
    • Section
    • Percentage
  • Displays the details in a clean format.

πŸ“– What I Learned

  • Using scanf for different data types (%s, %d, %c, %f)
  • Handling string input in C
  • Formatting output with printf

πŸš€ How to Run

  1. Save the code as student_info.c
  2. Compile using:
    gcc student_info.c -o student_info

3.Run the program:

./student_info

πŸ“Έ Sample Output

what is the name of your college: AITS

which branch are you studying : ECE

how much is your roll number : 16

which section you belongs to : A

what is your average percentage you are maintaining from school to engineering : 94.02

college : AITS

branch : ECE

rollnumber : 16

section : A

percentage : 94.02

About

πŸ“š A simple C program that collects and displays student details using scanf and printf. A part of my journey.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages