diff options
Diffstat (limited to 'Let_us_C/chapter-11.ipynb')
-rw-r--r-- | Let_us_C/chapter-11.ipynb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Let_us_C/chapter-11.ipynb b/Let_us_C/chapter-11.ipynb index 4f966f44..6e6a2bf4 100644 --- a/Let_us_C/chapter-11.ipynb +++ b/Let_us_C/chapter-11.ipynb @@ -25,7 +25,6 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to demonstrate printing a formatted string using printf function'''\n",
"\n",
"#Variable declaration\n",
"avg = 346 \n",
@@ -59,7 +58,6 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to demonstrate printing using format specifiers in printf function'''\n",
"\n",
"#Variable declaration\n",
"weight = 63\n",
@@ -99,7 +97,6 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to demonstrate printing using format specifiers in printf function'''\n",
"\n",
"#Variable declaration\n",
"firstname1 = \"Sandy\" \n",
@@ -136,8 +133,6 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to demonstrateshows usage of \\n and a\n",
- "new escape sequence \\t, called \u2018tab\u2019'''\n",
"\n",
"#Result\n",
"print \"You\\tmust\\tbe\\tcrazy\\nto\\thate\\tthis\\tbook\" \n"
@@ -167,7 +162,6 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to perform the specified conversion using printf function'''\n",
"\n",
"#Variable declaration\n",
"ch = 'z' \n",
@@ -209,7 +203,6 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to demonstrate the usage of sprintf function'''\n",
"\n",
"#Variable declaration\n",
"i = 10 \n",
@@ -248,7 +241,6 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to demonstrate the usage of unformatted input functions'''\n",
"\n",
"import msvcrt\n",
"\n",
@@ -298,7 +290,6 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to demonstrate the usage of unformatted output functions'''\n",
"\n",
"#Variable declaration\n",
"ch = 'A'\n",
@@ -340,7 +331,6 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to demonstrate the usage of gets and puts functions'''\n",
"\n",
"#Input from user\n",
"#footballer = input(\"Enter name\" ) # puts(\"Enter name \") ; gets(footballer)\n",
|