/first-steps-with-C

A simple input/output program with C

Primary LanguageC

First Steps with C

A simple input/output program with C

Idea:

  • Ask a series of questions to the user
  • Once you've collected all the answers, display them out in the console with additional text

C Basics

  • Compiling Code to execute it

Including Libraries

  • stdio & stdlib

Everything in the main() function

  • All the program execution happens in main

Data Types for C

  • char, int, float, array (char[])

Ways to collect input

  • scanf
  • fgets

Ways to display output

  • printf
  • puts