/******************************************************************************
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
C#, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
Code, Compile, Run and Debug online from anywhere in world.
*******************************************************************************/
#include <iostream>
#include <iomanip> // pour std::fixed et std::setprecision
using namespace std;
int main() {
int nb1 = 70, nb2 = 82;
char lettre = 'c';
float nb3 = 30.56f;
cout << "Sur une ligne : "
<< nb1 << " - " << nb2 << " - " << lettre << " - "
<< fixed << setprecision(2) << nb3 << endl;
cout << "Une variable par ligne :" << endl
<< nb1 << endl
<< nb2 << endl
<< lettre << endl
<< fixed << setprecision(2) << nb3 << endl;
return 0;
}