Search
 
SCRIPT & CODE EXAMPLE
 

PASCAL

subrange variables pascal

program exSubrange;
var
marks: 1 .. 100;
grade: 'A' .. 'E';
begin
 writeln( 'Enter your marks(1 - 100): ');
 readln(marks);
 writeln( 'Enter your grade(A - E): ');
 readln(grade);
 writeln('Marks: ' , marks, ' Grade: ', grade);
end.
Comment

PREVIOUS NEXT
Code Example
Pascal :: pascal error handling 
Pascal :: wait in pascal 
Pascal :: pascal loop 
Pascal :: pascal 
Pascal :: pascal cheat sheet for programmers 
Powershell :: takeown cmd 
Powershell :: powershell get my documents folder 
Gdscript :: godot get root node 
Gdscript :: gdscript dictionary 
Clojure :: Clojure whitespace 
Lisp :: Doom emacs pdf-tools 
Assembly :: assembly fibonacci 
Assembly :: django template url with parameter 
Assembly :: dd utility explained examples 
Assembly :: vba and 
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
1+6 =