Write a program that will output to the console how many pages will be printed each minute over the course of 6 minutes. code example
Example 1: how to print in c++
#include <iostream>
using namespace std;
int main(){
cout<<"Hello World!"<< endl; // prints "Hello World"
return 0;
}
Example 2: I need to write an int function in which there are only cout statements and if I return 0/1 it prints them too.
/*
* First C++ program that says hello (hello.cpp)
*/
#include <iostream> // Needed to perform IO operations
using namespace std;
int main() { // Program entry point
cout << "hello, world" << endl; // Say Hello
return 0; // Terminate main()
} // End of main function