GEODE-7203: Update transaction example README files (#525)

diff --git a/examples/cpp/transaction/README.md b/examples/cpp/transaction/README.md
index 2c82d66..cea019b 100644
--- a/examples/cpp/transaction/README.md
+++ b/examples/cpp/transaction/README.md
@@ -37,7 +37,10 @@
     $ ./startserver.sh
     ```
 
-3. Execute `cpp-transaction`. The output will show the cache and region creation, up to five rolled back transactions, and finally the commit of the transaction if the maximum of five rollback were not executed. For example:
+3. Execute `cpp-transaction`. The output logs the cache and region creation, and the results of up to five attempts to commit the transaction.
+Example execution ends when the transaction is successfully committed, or when the maximum number of attempts is reached without a successful commit.
+
+  For example, this run ends in a successful commit:
 
     ```bash
     $ ./cpp-transaction
@@ -49,6 +52,8 @@
        Committed transaction - exiting
     ```
     
+  In contrast, this run ends without a successful commit, after five unsuccessful attempts:
+
     ```bash
     $ ./cpp-transaction
        Created cache
diff --git a/examples/dotnet/transaction/README.md b/examples/dotnet/transaction/README.md
index 7bb3ef5..28539d5 100644
--- a/examples/dotnet/transaction/README.md
+++ b/examples/dotnet/transaction/README.md
@@ -1,4 +1,4 @@
-# transaction example
+# Transaction example
 This is a very simple example showing how to use TransactionManager.  This example shows
 how to begin a transaction, commit a transaction, and rollback a transaction while showing
 exception handling.  We commit two keys and rollback adding a third key and destroying an
@@ -30,14 +30,17 @@
     $ startserver.ps1
     ```
 
-1. Execute `dotnet-transaction.exe`, expect the following output:
+1. Execute `dotnet-transaction.exe`, The output logs the cache and region creation, and the results of up to five attempts to commit the transaction.
+Example execution ends when the transaction is successfully committed, or when the maximum number of attempts is reached without a successful commit.
 
-       Created cache
-       Created region 'exampleRegion'
-       Rolled back transaction - retrying(4)
-       Rolled back transaction - retrying(3)
-       Rolled back transaction - retrying(2)
-       Committed transaction - exiting
+    ```console
+    Created cache
+    Created region 'exampleRegion'
+    Rolled back transaction - retrying(4)
+    Rolled back transaction - retrying(3)
+    Rolled back transaction - retrying(2)
+    Committed transaction - exiting
+    ```
 
 1. Run the `stopserver.ps1` script to gracefully shutdown the Geode cluster.