Fundamentals8 / 15
Up next

std::println

#include <print>

int main() {
    std::string name = "Ada";
    int year = 1815;
    // std::println formats like std::format and adds a newline
    std::println("{} was born in {}", name, year);
}
What you're solving

the <print> library formats and writes a line