<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Calculator on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/calculator/</link><description>Recent content in Calculator on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 04 Dec 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/calculator/index.xml" rel="self" type="application/rss+xml"/><item><title>Chapter 3: Simple Calculator: Basic Arithmetic &amp;amp; Input Handling</title><link>https://ai-blog.noorshomelab.dev/java-mini-projects/ch03-simple-calculator/</link><pubDate>Thu, 04 Dec 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/java-mini-projects/ch03-simple-calculator/</guid><description>&lt;h2 id="chapter-3-simple-calculator-basic-arithmetic--input-handling"&gt;Chapter 3: Simple Calculator: Basic Arithmetic &amp;amp; Input Handling&lt;/h2&gt;
&lt;p&gt;Welcome to Chapter 3 of our journey! In this chapter, we will embark on building our very first interactive application: a Simple Calculator. This project, while seemingly basic, is fundamental for grasping core programming concepts such as user input handling, conditional logic, method creation, and basic arithmetic operations. It lays a crucial foundation for more complex applications by demonstrating how to interact with users and process data.&lt;/p&gt;</description></item><item><title>Chapter 16: Guided Project: Simple Command-Line Calculator</title><link>https://ai-blog.noorshomelab.dev/c-programming-guide/project-command-line-calculator/</link><pubDate>Mon, 03 Nov 2025 01:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/c-programming-guide/project-command-line-calculator/</guid><description>&lt;h1 id="chapter-16-guided-project-simple-command-line-calculator"&gt;Chapter 16: Guided Project: Simple Command-Line Calculator&lt;/h1&gt;
&lt;p&gt;Welcome to your first guided project! The best way to solidify your understanding of C programming is by building something practical. In this project, we will create a &lt;strong&gt;simple command-line calculator&lt;/strong&gt;. This will allow you to apply many of the concepts we&amp;rsquo;ve covered so far:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Functions:&lt;/strong&gt; To encapsulate arithmetic operations.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Control Flow:&lt;/strong&gt; For handling different operations and error conditions.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Data Types and Operators:&lt;/strong&gt; For performing calculations.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Command-Line Arguments (&lt;code&gt;argc&lt;/code&gt;, &lt;code&gt;argv&lt;/code&gt;):&lt;/strong&gt; For accepting user input.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;String to Number Conversion:&lt;/strong&gt; Using &lt;code&gt;atoi&lt;/code&gt; or &lt;code&gt;strtol&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The goal is to create a program that can be run from the terminal like this:&lt;/p&gt;</description></item></channel></rss>