Search
 
SCRIPT & CODE EXAMPLE
 

PASCAL

store input in variable in pascal

Program InputInPascal;

Var
number:integer;

begin
    write('Enter a number: ');
    readln(number);    // Waiting for input and storing it inside variable "number"
    
    writeln('The double of the number entered is: ',number*2);
End.
Comment

PREVIOUS NEXT
Code Example
Pascal :: pascal press any key to continue 
Pascal :: pascal readln() 
Pascal :: pascal exception handling 
Pascal :: pascal iteration 
Pascal :: pascal cheat sheet pdf 
Pascal :: pascal cheat sheet for programmers 
Powershell :: powershell -executionpolicy bypass -file 
Powershell :: To Show wifi profiles stored on a windows computer 
Gdscript :: godot check left mouse button 
Clojure :: Clojure defn 
Abap :: abap last row in loop 
Erlang :: tcp server erlang 
Assembly :: custom color bootstrap buttonm 
Assembly :: difference between machine language and assembly language 
Assembly :: 2su.communications.syr.edu]2su.communications.syr.edu 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: jquery add disabled to button 
Javascript :: jquery run code after 5 seconds 
Javascript :: use jquery 
Javascript :: vimeo playback speed 
Javascript :: Basic JavaScript: Use Recursion to Create a Range of Numbers 
Javascript :: vuex-module-decorators rawError globally 
Javascript :: autoplay owl carousel 
Javascript :: how to get element by title js 
Javascript :: check ip json 
Javascript :: shadow elevation react native 
Javascript :: javascript capitalize string 
Javascript :: remove all options from select jquery 
Javascript :: swiper.js cdn 
Javascript :: angular go to route 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =