Answer:
jkdsdjdshj,dfh.jhdfbhjf
Explanation:
bchSDCMHCXZ NHCXHBDSVCHDH,KC NBDBSDMJCBDBFD,JHCDSMNBBNCSCBFDNJCFJKC FMNSDNMSDFCH ĐS,CJDBS,CBSJBV,FJNDBFDSFDVBFĐDVFBVJFDCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDHCD
This statement checks if num1 is equal to the absolute value of num1
For instance,
num1 = 4 and the absolute value of num1 = 4. This would run the code inside the if statement but if num1 = -1 the absolute value of num1 = 1 and the if stamtent would be skipped because -1 does not equal 1
Answer:
// here is code in Java.
// package
import java.util.*;
// class definition
class Main
{
// method that return sum of two sale value
public static int Add(int euroSales,int asiaSales)
{
// return the sum
return euroSales+asiaSales;
}
//main method of the class
public static void main (String[] args) throws java.lang.Exception
{
try{
// variables
int euroSales=100;
int asiaSales=150;
int eurasiaSales;
// call the function
eurasiaSales=Add(euroSales,asiaSales);
// print the sum
System.out.println("total sale is:"+eurasiaSales);
}catch(Exception ex){
return;}
}
}
Explanation:
Declare and initialize two variables "euroSales=100" and "asiaSales=150". Declare another variable eurasiaSales. Call the method Add() with euroSales and asiaSales as parameter. This method will add both the value and return the sum.This sum will be assigned to variable eurasiaSales.Then print the sum.
Output:
total sale is:250
ISO it is an organzation for agreement on internationational of network communication worldwide
OSI is the model for understanding and designing a network architecture
Answer:
D.Indirect Recursion.
Explanation:
Indirect recursion is when a method calls other method which calls the original method again.
For example:-
public static int mthd1( int n)
{
if (n == 0)
return 0;
else
return (mthd2(n-1));
}
public static int mthd2(int n2)
{ return mthd1( n2-1); }
This is an example of indirect recursion.Where mthd1 calls mthd 2 and mthd 2 calls mthd 1 again.