Skip to content

nyebe/CP1-Basics-Part-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



Nyebe

Basic Input, Output, and Conditionals

A basic C++ console application demonstrating the use of input, output, and conditionals.


Table of Contents
  1. Overview
    1. Key Features
    2. Technology
  2. Roadmap
  3. Resources

Overview

Basic Input, Output, and Conditionals is a simple C++ console application that demonstrates basic programming concepts such as input/output handling, conditionals, and switch statements. It collects the user's name and age, checks if the user is eligible for schooling, and provides feedback based on the age input. Additionally, it shows an example of character and number-based switch-case logic.

Key Features

  • User Input: Collects the user's name, age, and favorite letter and number.
  • Conditionals: Uses if, else if, and else statements to determine if the user can go to school based on their age.
  • Error Handling: Provides error handling for invalid age inputs.
  • Switch-Case Logic: Responds to the user’s favorite letter and number using a switch statement.
  • Screen Cleaning: Clears the terminal screen between inputs for better user experience.

Technology

C++

Resources

Title Purpose Link
C++ Documentation Reference for C++ language features https://cplusplus.com/doc/
Console Applications in C++ Guide to building console apps in C++ https://www.learncpp.com/

(back to top)

About

A C++ console app that demonstrates basic input, output, and conditional statements. Users input their name, age, and favorite letter/number to interact with the system, which checks eligibility for schooling and handles errors. Features include switch statements and screen clearing.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages