//
// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
//
// The contents of this file are covered under the licence agreement in the
// file "LICENCE" distributed with Cforall.
//
// fstream_test.c -- 
//
// Author           : Peter A. Buhr
// Created On       : Wed May 27 17:56:53 2015
// Last Modified By : Peter A. Buhr
// Last Modified On : Thu Aug 24 11:30:26 2017
// Update Count     : 65
//

#include <fstream>

int main( void ) {
	int nombre;
	sout | "Entrez un nombre, s'il vous plaît:" | endl;
	sin  | nombre;
	sout | "Vous avez entré" | nombre | endl;
	sout | "le nombre" | nombre | "est"
		 | (nombre > 0 ? "positif" : nombre == 0 ? "zéro" : "négatif") | endl;

	sout | "Entrez trois nombres, s'il vous plaît: " | endl;
	int i, j, k;
	sin  | i | j | k;
	sout | "Vous avez entré" | "i:" | "" | i | "j:" | "" | j | "k:" | "" | k | endl;
}

// Local Variables: //
// tab-width: 4 //
// compile-command: "cfa fstream_test.c" //
// End: //
