GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Flussdiagramm

Introduction to programming

vin _d Englisch

Inhalt des Flussdiagramms

  1. Variables

  2. A variable is a symbol whose value can change during the execution of a program

  3. Example

    Public class First Java Program

    {

    Public state Void main (string orgs[])

    {

    String x = "Hello World"

    System.out.println(x)

  4. Variable types

    Boolean- True/False

    Int- +/- whole number

    long- +/- larger than an integer

    short - +/- smaller than an integer

    sting- Variable length

    Char - single character

    Double- Decimal or floating number

    -

  5. Example

    Public class Assignment {

    Public state void main ( string args[]) {

    long x ;

    x= 1000

    double z = 10.3, y= -22.3

    Sytem.out.println (x) ;

  6. You must always assign a value to a variable before you use it within a program. E.g x = 1000;

Informationen

Beschreibung
Flussdiagramm am Introduction to programming, erstellt von vin _d am 11/11/2021.
Erstellt von
vin _d
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck