Computer Science, asked by akshayegreat, 1 year ago

can anyone give me the syntax of if and variable and some info about data types in brief

Answers

Answered by Aryendra
0
If(condition/conditions) { Statement 1 Statement 2 . . . } The two curly braces form a block,which is necessary when more than one statement has to be executed with respect to the condition. Data types tells the compiler the type of value to be stored in a variable. It also indicates the amount of memory space to be allocated . Different types of variable's are used to use different type of data E.g--- numeric data type --; int,double, float,long etc Non numeric--- arrays,char, String etc

Aryendra: Plz mark as best
Similar questions