Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

An Introduction to Dragon/Lessons/Getting Input

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Getting Input We can get input from the keyboard using the readln function. readln function Syntax: select "std" a = readln() Example: select "std" select "types" showln "Enter the first number :" a = int(readln()) showln "Enter the second number :" b = int(readln()) showln "Sum is : " + (a + b) Output: Enter the first number : 3 Enter the second number : 4 Sum is : 7 Dragon programming language