Answer:
1000 megabytes are in a gigabyte
Explanation:
Another name for low-angle lighting is under-lighting.
Answer:
import java.io.*;
import java.util.Scanner;
class divide {
public static void main (String[] args) {
Scanner num=new Scanner(System.in);//scanner object.
int userNum=num.nextInt();
while(userNum>1)//while loop.
{
userNum/=2;//dividing the userNum.
System.out.print(userNum+" ");//printing the userNum.
}
}
}
Input:-
40
Output:-
20 10 5 2 1
Input:-
2
Output:-
1
Input:-
0
Output:-
No Output
Input:-
-1
Output:-
No Output.
Explanation:
In the program While loop is used.In the while loop it divides the userNum by 2 in each iteration and prints the value of userNum.The inputs and corresponding outputs are written in the answer.
Required: program to return the largest of three numbers.
pseudocode
input parameters, int A,B,C;
int T; // temporary storage
if (A>B) T=A;
else T=B;
if (T>C) print(T);
else print(C);
Hello,
Your answer would be:
1. It’s important to have a good study skill so you can be ready to take a quiz such as world history.
2. It’s important to know your time on tasks because you don’t want to spend all day on one simple task you want to get things done.
3. A schedule can help you get organzied because it helps you with your time such as this go along with your second question.
Have a nice day :)
~Rendorforestmusic