From ca2d21acdced0c2a4403ad8b0fb3b6296a54ddf4 Mon Sep 17 00:00:00 2001 From: Beliavsky <38887928+Beliavsky@users.noreply.github.com> Date: Thu, 12 Sep 2024 19:26:03 -0400 Subject: [PATCH] Added a small calculation to the read_value program With some justification, Tsoding https://www.youtube.com/watch?v=PvUQndB8R9s&ab_channel=TsodingDaily mocked the first complete program in the tutorial for not doing a calculation and just echoing the input. So I added a small calculation. --- source/learn/quickstart/variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/learn/quickstart/variables.md b/source/learn/quickstart/variables.md index 4a8319450b2b..3007e2b09bed 100644 --- a/source/learn/quickstart/variables.md +++ b/source/learn/quickstart/variables.md @@ -111,7 +111,7 @@ program read_value print *, 'Please enter your age: ' read(*,*) age - print *, 'Your age is: ', age + print *, 'In ten years, your age will be ', age + 10 end program read_value ```