about account add arrow-down arrow-left arrow-right arrow-up back-arrow register-arrow book-mobile book categories chat-bubble-mobile chat-bubble close college contact-us credit-card drag email-square facebook-mobile facebook-square facebook faq film history home load modal-error person pinterest-square play-mobile play queue remove resume search share show star tick trailer trash twitter-mobile twitter-square twitter university warning warning youtube-square open-eye close-eye promo-tag tag check info info active

Variables, Computations, and Input in C++

Lecture no. 3 from the course: Introduction to C++: Programming Concepts and Applications

Variables, Computations, and Input in C++

Taught by Professor John Keyser | 34 min | Categories: The Great Courses Plus Online Professional Development Courses

Try out a program that calculates calories in different foods, demonstrating the essential elements of a program: input, variables, computations, and output. Learn to specify a variable’s type and value, and get advice on shortcuts for keeping your instructions clean. Also discover the origin of the name C++, which signals that the language is designed to do whatever C can do—and then some.


August 2, 2019
The best C++ course on the internet