Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

C++ Functions - Functions Return Statement, How to Check Prime Number Programming Tutorial

CodeBeauty via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn about function return types in C++ through a practical example of finding prime numbers within an interval. Explore the concept of return statements, create and refactor functions, and implement a prime number checking algorithm. Gain hands-on experience in solving programming problems while improving your C++ skills in this 27-minute tutorial. Suitable for beginners looking to deepen their understanding of C++ functions and their applications in real-world scenarios.

Syllabus

Intro
Return type of a function
Prime flag
Create function
Assign prime flag
Refactor function
Check prime number
Summary

Taught by

CodeBeauty

Reviews

Start your review of C++ Functions - Functions Return Statement, How to Check Prime Number Programming Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.