educative.io

https://www.educative.io/courses/learn-cpp-from-scratch/JY88z25NJ12

how to dispaly output in int main () with other ides like dev c++


Course: Learn C++ from Scratch - Free Interactive Course
Lesson: Exercise 2: Students Average Marks - Learn C++ from Scratch

Hello @scott_mickel,
if you mean how to print a variable or any form of output in int main in c++, then that is achieved using cout. For example, to print “hello world” you need to write cout << "hello world";
Hope this answers your query