#include <iostream>
#include <iomanip>  // needed for setw, setprecision, other fun ones listed https://cplusplus.com/reference/iomanip/
using namespace std;

int main() 
{
	const int LOOPNUM = 10;
	for (int i = 0; i < LOOPNUM; ++i)
	{
		cout << i * 10.0 << "\t";
	}
	float num = 54321.35;
	cout << "\n" << num;
	cout << "\n" << num << setw(42) << num;
	
	// You can use setw to set the width, left, right to justify 
	cout << "\n" << num << "\t" << setw(42) << left << num;
	cout << "\n" << setprecision(2) << num;
	
	return 0;
}

