How to resolve the algorithm Create a file step by step in the Aikido programming language

Published on 12 May 2024 09:40 PM

How to resolve the algorithm Create a file step by step in the Aikido programming language

Table of Contents

Problem Statement

In this task, the job is to create a new empty file called "output.txt" of size 0 bytes and an empty directory called "docs". This should be done twice: once "here", i.e. in the current working directory and once in the filesystem root.

Let's start with the solution:

Step by Step solution about How to resolve the algorithm Create a file step by step in the Aikido programming language

Source code in the aikido programming language

var sout = openout ("output.txt") // in current dir
sout.close()

var sout1 = openout ("/output.txt")   // in root dir
sout1.close()

mkdir ("docs")
mkdir ("/docs")

  

You may also check:How to resolve the algorithm Cumulative standard deviation step by step in the Swift programming language
You may also check:How to resolve the algorithm 15 puzzle game step by step in the C# programming language
You may also check:How to resolve the algorithm Rename a file step by step in the Perl programming language
You may also check:How to resolve the algorithm Letter frequency step by step in the Raku programming language
You may also check:How to resolve the algorithm Averages/Root mean square step by step in the APL programming language