td1 ex2
This commit is contained in:
parent
e4e304a391
commit
1a9f86cff5
12
TD1/td1.cs
12
TD1/td1.cs
@ -22,8 +22,18 @@ namespace Programmation_objet_TLESIO21.TD1 {
|
||||
Console.WriteLine("Après inversion, a = " + a + " & b = " + b);
|
||||
}
|
||||
|
||||
private static void Excercice2() {
|
||||
Console.WriteLine("Veuillez saisir un texte : ");
|
||||
String s = Console.ReadLine();
|
||||
Console.WriteLine("Vous avez saisi : «" + s + "»");
|
||||
}
|
||||
|
||||
private static void TestExcercice2() {
|
||||
Excercice2();
|
||||
}
|
||||
|
||||
public static void Launch() {
|
||||
TestExcercice1();
|
||||
TestExcercice2();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user