How to resolve the algorithm File size step by step in the Nanoquery programming language

Published on 12 May 2024 09:40 PM

How to resolve the algorithm File size step by step in the Nanoquery programming language

Table of Contents

Problem Statement

Verify the size of a file called     input.txt     for a file in the current working directory, and another one in the file system root.

Let's start with the solution:

Step by Step solution about How to resolve the algorithm File size step by step in the Nanoquery programming language

Source code in the nanoquery programming language

import Nanoquery.IO
println new(File, "input.txt").length()
println new(File, "/input.txt").length()

  

You may also check:How to resolve the algorithm Empty program step by step in the i programming language
You may also check:How to resolve the algorithm Draw a sphere step by step in the AutoHotkey programming language
You may also check:How to resolve the algorithm Literals/String step by step in the D programming language
You may also check:How to resolve the algorithm Test a function step by step in the Wren programming language
You may also check:How to resolve the algorithm Exceptions/Catch an exception thrown in a nested call step by step in the C++ programming language