From 12ecedd4f51ec9f61b45058755c161d773e1be40 Mon Sep 17 00:00:00 2001 From: Boris Verkhovskiy Date: Mon, 27 May 2024 12:15:14 -0600 Subject: Correct highlighted lanugages --- bc.html.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bc.html.markdown') diff --git a/bc.html.markdown b/bc.html.markdown index 3420f766..d4825739 100644 --- a/bc.html.markdown +++ b/bc.html.markdown @@ -4,7 +4,7 @@ contributors: - ["Btup"] filename: learnbc.bc --- -```c +```bc /*This is a multi- line comment.*/ # This is also a (one-line) comment! (in GNU bc). @@ -29,12 +29,12 @@ hour = read() /*Input a number*/ if(hour < 12) { /*Operators are exactly like C.*/ print "Good morning\n" /*"print" outputs strings or variables - separated by commas.*/ + separated by commas.*/ } else if(hour == 12) { print "Hello\n" /*Escaping sequences start with a \ in a string. In order to make the escaping sequences clearer, here - is a simplified list of them that will work in bc: + is a simplified list of them that will work in bc: \b: backspace \c: carriage return \n: newline -- cgit v1.2.3