Answer:
this would be .128 terabytes
Explanation:
This would be since for a whole terabyte you need 1000 gigabytes every 1000 gigabytes is a terabyte for example let’s say you have 5250 gigabytes you would have 5.250 terabytes that simple hope this helped!
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.
In this way, writing the code in C++ we can say that it will be possible to make the coordinates on the planes.
<h3>Writing the code we have:</h3>
<em>#include <iostream></em>
<em>#include <cmath></em>
<em>#include <iomanip></em>
<em>using namespace std;</em>
<em>class Point{</em>
<em>private:</em>
<em>float x;</em>
<em>float y;</em>
<em>public:</em>
<em>Point(){ </em>
<em>x = y = 0;</em>
<em>}</em>
<em>Point(float x, float y){ </em>
<em>this->x = x;</em>
<em>this->y = y;</em>
<em>}</em>
<em>float getX(){ </em>
<em>return x;</em>
<em>}</em>
<em>float getY(){</em>
<em>return y;</em>
<em>}</em>
<em>float getDistance(){</em>
<em>return math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2));</em>
<em>}</em>
<em>string toString(){ </em>
<em>return "("(x1, y)","(x2, y2)")";</em>
<em>}</em>
<em>};</em>
See more about C code at brainly.com/question/17544466
#SPJ1