How riyavirajpet/week04-mini-project works
This is a small command-line temperature converter. The user chooses a conversion direction and enters an integer temperature; the program validates the input, performs the selected integer-arithmetic conversion, and prints the result or an error. Both conversion branches live in src/main.cpp, so they are represented as behaviors of one runtime component rather than separate modules. The source excerpt shows the program’s input, branching, calculations, and output.
Main entry points: main.cpp Temperature Converter
Components 2
Other components
- User
- Temperature Converter
src/main.cpp
Connections 2
- User → Temperature Converter: enters choice and temperature
src/main.cpp - Temperature Converter → User: prints result or error
src/main.cpp