<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MAKAUT Community - Recent questions and answers</title>
<link>https://community.makautwb.net/index.php?qa=qa</link>
<description>Powered by Question2Answer</description>
<item>
<title>Assignment 8.3 (on Array and Functions)</title>
<link>https://community.makautwb.net/index.php?qa=13&amp;qa_1=assignment-8-3-on-array-and-functions</link>
<description>

&lt;p&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Write a program in C to merge two arrays of same size sorted in descending order.&amp;nbsp;&lt;/span&gt;
&lt;br style=&quot;color: rgba(0, 0, 0, 0.87); font-family: Helvetica, Arial, sans-serif; font-size: 17px;&quot;&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Test Data :&lt;/span&gt;
&lt;br style=&quot;color: rgba(0, 0, 0, 0.87); font-family: Helvetica, Arial, sans-serif; font-size: 17px;&quot;&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Input the number of elements to be stored in the first array :3&lt;/span&gt;
&lt;br style=&quot;color: rgba(0, 0, 0, 0.87); font-family: Helvetica, Arial, sans-serif; font-size: 17px;&quot;&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Input 3 elements in the array :&lt;/span&gt;
&lt;br style=&quot;color: rgba(0, 0, 0, 0.87); font-family: Helvetica, Arial, sans-serif; font-size: 17px;&quot;&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;element - 0 : 1&lt;/span&gt;
&lt;br style=&quot;color: rgba(0, 0, 0, 0.87); font-family: Helvetica, Arial, sans-serif; font-size: 17px;&quot;&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;element - 1 : 2&lt;/span&gt;
&lt;br style=&quot;color: rgba(0, 0, 0, 0.87); font-family: Helvetica, Arial, sans-serif; font-size: 17px;&quot;&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;element - 2 : 3&lt;/span&gt;
&lt;br style=&quot;color: rgba(0, 0, 0, 0.87); font-family: Helvetica, Arial, sans-serif; font-size: 17px;&quot;&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Input the number of elements to be stored in the second array :3&lt;/span&gt;
&lt;br style=&quot;color: rgba(0, 0, 0, 0.87); font-family: Helvetica, Arial, sans-serif; font-size: 17px;&quot;&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Input 3 elements in the array :&lt;/span&gt;
&lt;br style=&quot;color: rgba(0, 0, 0, 0.87); font-family: Helvetica, Arial, sans-serif; font-size: 17px;&quot;&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;element - 0 : 1&lt;/span&gt;
&lt;br style=&quot;color: rgba(0, 0, 0, 0.87); font-family: Helvetica, Arial, sans-serif; font-size: 17px;&quot;&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;element - 1 : 2&lt;/span&gt;
&lt;br style=&quot;color: rgba(0, 0, 0, 0.87); font-family: Helvetica, Arial, sans-serif; font-size: 17px;&quot;&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;element - 2 : 3&lt;/span&gt;
&lt;br style=&quot;color: rgba(0, 0, 0, 0.87); font-family: Helvetica, Arial, sans-serif; font-size: 17px;&quot;&gt;&lt;em style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Expected Output&lt;/em&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;&amp;nbsp;:&lt;/span&gt;
&lt;br style=&quot;color: rgba(0, 0, 0, 0.87); font-family: Helvetica, Arial, sans-serif; font-size: 17px;&quot;&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;The merged array in descending order is :&lt;/span&gt;
&lt;br style=&quot;color: rgba(0, 0, 0, 0.87); font-family: Helvetica, Arial, sans-serif; font-size: 17px;&quot;&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;3 3 2 2 1 1&lt;/span&gt;&lt;/p&gt;</description>
<category>Programming</category>
<guid isPermaLink="true">https://community.makautwb.net/index.php?qa=13&amp;qa_1=assignment-8-3-on-array-and-functions</guid>
<pubDate>Fri, 20 Aug 2021 14:24:40 +0000</pubDate>
</item>
<item>
<title>Assignment 8.2 (On Array and Functions)</title>
<link>https://community.makautwb.net/index.php?qa=12&amp;qa_1=assignment-8-2-on-array-and-functions</link>
<description>

&lt;p&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Write a program in C to count a total number of duplicate elements in an array.&amp;nbsp;&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Test Data :&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Input the number of elements to be stored in the array :3&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Input 3 elements in the array :&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;element - 0 : 5&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;element - 1 : 1&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;element - 2 : 1&lt;/span&gt;
&lt;br&gt;&lt;em&gt;Expected Output&lt;/em&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;&amp;nbsp;:&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Total number of duplicate elements found in the array is : 1&lt;/span&gt;&lt;/p&gt;</description>
<category>Programming</category>
<guid isPermaLink="true">https://community.makautwb.net/index.php?qa=12&amp;qa_1=assignment-8-2-on-array-and-functions</guid>
<pubDate>Fri, 20 Aug 2021 14:21:15 +0000</pubDate>
</item>
<item>
<title>Assignment 8.1 (On Array and Function)</title>
<link>https://community.makautwb.net/index.php?qa=11&amp;qa_1=assignment-8-1-on-array-and-function</link>
<description>

&lt;p&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Write a program in C to read n number of values in an array and display it in reverse order.&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Test Data :&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Input the number of elements to store in the array :3&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;Input 3 number of elements in the array :&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;element - 0 : 2&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;element - 1 : 5&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;element - 2 : 7&lt;/span&gt;
&lt;br&gt;&lt;em&gt;Expected Output&lt;/em&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;&amp;nbsp;:&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;The values store into the array are :&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;2 5 7&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;The values store into the array in reverse are :&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:rgba(0, 0, 0, 0.87); font-family:Helvetica,Arial,sans-serif; font-size:17px&quot;&gt;7 5 2&lt;/span&gt;&lt;/p&gt;</description>
<category>Programming</category>
<guid isPermaLink="true">https://community.makautwb.net/index.php?qa=11&amp;qa_1=assignment-8-1-on-array-and-function</guid>
<pubDate>Fri, 20 Aug 2021 14:19:59 +0000</pubDate>
</item>
<item>
<title>Answered: Assignment 7.4</title>
<link>https://community.makautwb.net/index.php?qa=7&amp;qa_1=assignment-7-4&amp;show=10#a10</link>
<description>

&lt;p&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/p&gt;

&lt;p&gt;void Multiprint(int,char);&lt;/p&gt;

&lt;p&gt;void main()&lt;/p&gt;

&lt;p&gt;{&lt;/p&gt;

&lt;p&gt;int n;&lt;/p&gt;

&lt;p&gt;char c;&lt;/p&gt;

&lt;p&gt;printf(&quot;What&#039;s the character?&quot;);&lt;/p&gt;

&lt;p&gt;scanf(&quot;%c&quot;, &amp;amp;c);&lt;/p&gt;

&lt;p&gt;printf(&quot;\n How many characters you want to print?&quot;);&lt;/p&gt;

&lt;p&gt;scanf(&quot;%d&quot;&amp;amp;n);&lt;/p&gt;

&lt;p&gt;multiprint(n,c);&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;&lt;span id=&quot;t3_1&quot; style=&quot;border:0px; box-sizing:border-box; color:#000000; font-family:LiberationMono_c_1; font-size:41.9px; font-stretch:inherit; font-variant-east-asian:inherit; font-variant-numeric:inherit; left:76px; line-height:inherit; margin:0px; overflow:visible; padding:0px; position:absolute; top:86px; transform-origin:left top; transform:scale(0.25); vertical-align:baseline; white-space:pre; z-index:2&quot; class=&quot;f0 s1_1 t&quot;&gt;void multiPrint(int n, char c) {&lt;/span&gt;&lt;span id=&quot;t4_1&quot; style=&quot;border:0px; box-sizing:border-box; color:#000000; font-family:LiberationMono_c_1; font-size:41.9px; font-stretch:inherit; font-variant-east-asian:inherit; font-variant-numeric:inherit; left:94px; line-height:inherit; margin:0px; overflow:visible; padding:0px; position:absolute; top:98px; transform-origin:left top; transform:scale(0.25); vertical-align:baseline; white-space:pre; z-index:2&quot; class=&quot;f0 s1_1 t&quot;&gt;for (int i = 1; i &amp;lt;= n; i++)&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;void multiprint(int n, char c)&lt;/p&gt;

&lt;p&gt;{&lt;/p&gt;

&lt;p&gt;int i;&lt;/p&gt;

&lt;p&gt;for(i=0;i&amp;lt;n;i++)&lt;/p&gt;

&lt;p&gt;printf(&quot;%c&quot;, c);&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;</description>
<category>Programming</category>
<guid isPermaLink="true">https://community.makautwb.net/index.php?qa=7&amp;qa_1=assignment-7-4&amp;show=10#a10</guid>
<pubDate>Sat, 07 Aug 2021 00:56:23 +0000</pubDate>
</item>
<item>
<title>Answered: Assignment 7.5</title>
<link>https://community.makautwb.net/index.php?qa=8&amp;qa_1=assignment-7-5&amp;show=9#a9</link>
<description>

&lt;p&gt;It prints the following infinite times.....&lt;/p&gt;

&lt;pre id=&quot;Result&quot; class=&quot;resultarea&quot; style=&quot;font-family: Consolas, monospace; font-size: 14px; width: 1321.05px; margin-left: 0.5em; color: rgb(146, 146, 146); background-color: rgb(26, 26, 26);&quot;&gt;Hey
C&lt;/pre&gt;</description>
<category>Programming</category>
<guid isPermaLink="true">https://community.makautwb.net/index.php?qa=8&amp;qa_1=assignment-7-5&amp;show=9#a9</guid>
<pubDate>Sat, 07 Aug 2021 00:41:51 +0000</pubDate>
</item>
<item>
<title>Assignment 7.3</title>
<link>https://community.makautwb.net/index.php?qa=6&amp;qa_1=assignment-7-3</link>
<description>

&lt;p&gt;3.&amp;nbsp;&lt;span style=&quot;color:#202122; font-family:sans-serif; font-size:14px&quot;&gt;Create a calculator that takes a number, a basic math operator (+,-,*,/,^), and a second number all from user input, and have it print the result of the mathematical operation. The mathematical operations should be wrapped inside of functions.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong style=&quot;box-sizing:border-box; color:#e74c3c; font-family:Ubuntu,Helvetica,Arial,FreeSans,sans-serif&quot;&gt;(Answer will be given Next Week)&lt;/strong&gt;&lt;/p&gt;</description>
<category>Programming</category>
<guid isPermaLink="true">https://community.makautwb.net/index.php?qa=6&amp;qa_1=assignment-7-3</guid>
<pubDate>Tue, 20 Jul 2021 14:06:41 +0000</pubDate>
</item>
<item>
<title>Assignment 7.2</title>
<link>https://community.makautwb.net/index.php?qa=5&amp;qa_1=assignment-7-2</link>
<description>

&lt;p&gt;&lt;span style=&quot;color:#121212; font-family:Carme,sans-serif&quot;&gt;2. Write a program which will ask the user to enter his/her marks (out of 100). Define a function that will display grades according to the marks entered as below:&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:#121212; font-family:Carme,sans-serif&quot;&gt;Marks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Grade&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:#121212; font-family:Carme,sans-serif&quot;&gt;91-100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AA&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:#121212; font-family:Carme,sans-serif&quot;&gt;81-90&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AB&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:#121212; font-family:Carme,sans-serif&quot;&gt;71-80&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BB&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:#121212; font-family:Carme,sans-serif&quot;&gt;61-70&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BC&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:#121212; font-family:Carme,sans-serif&quot;&gt;51-60&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CD&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:#121212; font-family:Carme,sans-serif&quot;&gt;41-50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DD&lt;/span&gt;
&lt;br&gt;&lt;span style=&quot;color:#121212; font-family:Carme,sans-serif&quot;&gt;&amp;lt;=40&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Fail&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong style=&quot;box-sizing:border-box; color:#e74c3c; font-family:Ubuntu,Helvetica,Arial,FreeSans,sans-serif&quot;&gt;(Answer will be given Next Week)&lt;/strong&gt;&lt;/p&gt;</description>
<category>Programming</category>
<guid isPermaLink="true">https://community.makautwb.net/index.php?qa=5&amp;qa_1=assignment-7-2</guid>
<pubDate>Tue, 20 Jul 2021 14:03:31 +0000</pubDate>
</item>
<item>
<title>Assignment 7.1</title>
<link>https://community.makautwb.net/index.php?qa=4&amp;qa_1=assignment-7-1</link>
<description>

&lt;p&gt;1. What will be the output of the following Program?&lt;/p&gt;

&lt;pre&gt;#include&amp;lt;stdio.h&amp;gt;
int function();
main()
{
	int i;
	i = function();
	printf(&quot;%d&quot;, i);
	return 0;
}
function()
{
	int a;
	a = 250;
	return 0;
}&lt;/pre&gt;

&lt;pre&gt;
&lt;/pre&gt;

&lt;pre&gt;&lt;strong style=&quot;box-sizing:border-box; color:#e74c3c; font-family:Ubuntu,Helvetica,Arial,FreeSans,sans-serif; white-space:normal&quot;&gt;(Answer will be given Next Week)&lt;/strong&gt;
&lt;/pre&gt;</description>
<category>Programming</category>
<guid isPermaLink="true">https://community.makautwb.net/index.php?qa=4&amp;qa_1=assignment-7-1</guid>
<pubDate>Tue, 20 Jul 2021 14:01:50 +0000</pubDate>
</item>
</channel>
</rss>