Skip to content

mjc-school/stage0-module3-task4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tasks:

1) Types setting.

Complete the code snippet below with corresponding types. Each var type should consume as less as possible e.g.: 2345 - suits to short. Code snippet:

    public class SettingTypes {
        public static void main(String[] args) {
             first = 10_000_000_000L;
             second = 'a';
             third = 5 > 9;
             forth = 12.90434323324342;
             fifth = 12.3F;
             sixth = 1;
             seventh = 129;
        }
    }

2) Int representation.

Print chars :'c', 'h', 'a', 'r' using int representation. Implement program in the following code snippet:

    public class IntRepresentation {
        public static void main(String[] args) {
        }
    }

3) Formula.

Declare all necessary variables and write down the formula using corresponding names (declare those vars before the formula): img_19.png Implement program using the following code snippet:

public class FormulaCreator {
    public static void main(String[] args) {
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages