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

Published on 12 May 2024 09:40 PM

How to resolve the algorithm File size step by step in the Frink 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 Frink programming language

Source code in the frink programming language

println[newJava["java.io.File", "input.txt"].length[]]
println[newJava["java.io.File", "/input.txt"].length[]]

  

You may also check:How to resolve the algorithm XML/Input step by step in the Slate programming language
You may also check:How to resolve the algorithm Keyboard input/Keypress check step by step in the Tcl programming language
You may also check:How to resolve the algorithm String concatenation step by step in the NS-HUBASIC programming language
You may also check:How to resolve the algorithm Parallel calculations step by step in the Kotlin programming language
You may also check:How to resolve the algorithm Chinese remainder theorem step by step in the Ada programming language