Menu
Coddy logo textTech

Welcome Message

Part of the Fundamentals section of Coddy's C++ journey — lesson 38 of 74.

Did you know that creating a simple calculator in C++ can be a great way to practice what you've learned about variables, operators, and basic input/output?

In this project, you'll create a basic calculator app that performs arithmetic operations like addition, subtraction, multiplication, and division. It's a practical way to apply your C++ skills and build a useful tool.

By the end of this project, you'll have a working calculator that can perform basic math operations! Let's get started!

challenge icon

Challenge

Beginner

Every good program starts with a welcome message. Output to the screen the following string:

Calculator App

Add endl to the print.

Cheat sheet

To output text in C++, use cout with the insertion operator <<:

cout << "Calculator App" << endl;

The endl adds a newline and flushes the output buffer.

Try it yourself

#include <iostream>

int main() {
    
    return 0;
}
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Fundamentals