I am.
Explanation
Characters
Answer:
public class Digits
{
public static boolean allDigitsOdd(int num)
{
boolean flag=true;
int rem;
while(num>0)
{
rem=num%10;
num=num/10;
if(rem%2==0) // if a even digit found immediately breaks out of loop
{
flag=false;
break;
}
}
return flag; //returns result
}
public static void main(String args[])
{
System.out.println(allDigitsOdd(1375)); //returns true as all are odd digits
}
}
OUTPUT :
true
Explanation:
Above program has 2 static methods inside a class Digits. Logic behind above function is that a number is divided by 10 until it is less than 0. Each time its remainder by 0 is checked if even immediately breaks out of the loop.
This is how to answer this programming question:
#include <stdio.h>
#include <conio.h>
int main(void)
{
char letterStart;
<span>fflush(stdin);</span>
printf("Input character: ");
scanf("%c", &letterStart);
print("Next Letter: %c", ++letterStart);
getch();
clrscr();
}
Answer:
40.7 million iphones
Explanation:
Gupta. Apple's iPhone sales continued to decline in the third quarter of 2019. Apple sold 40.8 million iPhones, a year-over-year decline of 10.7%.
<span>As these technologies are rapidly evolving a functionalist would say that they unbalance the equilibrium of the social state, and is therefore undesirable as there is more interaction and adaptation of habits from other societies.
But they also say that it's not a good thing to change immediately because it might disrupt the society. Therefore it has to change slowly. </span>