+ 2
Compound interest or statement ?
What is a compound statement ?
2 odpowiedzi
+ 7
A statement is a single instruction code which ends with a semicolon ;
Ex:int a=10;
a++;
System.out.println("this is a statement");
A compound statement is a set of statements Grouped inside curly braces {}.
Ex:
if(true)
{
System.out.println(true);
else
System.out.println(false);
}
+ 1
i have made one program for compound interest
https://code.sololearn.com/c21Zs456AjEM/?ref=app