Skip to content

Commit

Permalink
first post
Browse files Browse the repository at this point in the history
  • Loading branch information
rynturtle committed Nov 11, 2024
1 parent 5de8726 commit 68cf07d
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions _posts/2024-11-11-my-new-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
layout: post
title: First Intrudction To programming assignment
date: 2024-11-11 13:35 +0000
---

<h3>
For my first programming assignment in university, I had to create a program in C++ with 100 lines of code using basic input and output, I chose to create an interaction at a fruit stall for the user to purchase any type of fruit they want.
</h3>

My fruit stall Program’s features are:
<ul>
<li>Asks how much money you have and stores in a variable. </li>
<li>Farmer asks if you want fruit, if you do then it will display the fruits and prices, if you don’t then it will cancel. </li>
<li>Ascii Image of a farmer displayed with fruit and price next to it. </li>
<li> When some fruit is selected it will check if you can afford it then it will take the price off the wallet, if you can’t afford it then the program will cancel.</li>
<li>Displays certain text in colour e.g. When a fruit is bought the writing is in green. </li>
<li>When the program ends it will open a text document displaying the receipt with fruit bought and price with total spent.</li>
</ul>


<h3> Here is the video explaining each line of code I created for my assignment. </h3>



{%
include embed/video.html
src='/assets/video/fruit_stall_program_explanation.mp4'
types='mp4|mov'
title='Demo video'
autoplay=false
loop=false
muted=false
%}

0 comments on commit 68cf07d

Please sign in to comment.