20 lines
175 B
Plaintext
20 lines
175 B
Plaintext
== Compliant Solution
|
|
|
|
[source,text]
|
|
----
|
|
int my_func (int a)
|
|
{
|
|
if (a > 100)
|
|
{
|
|
return 12;
|
|
}
|
|
|
|
if (a > 80)
|
|
{
|
|
throw new Exception();
|
|
}
|
|
|
|
return a;
|
|
}
|
|
----
|