You can just look up "python ide online" on google and paste this code:
n = -1
count = 0
while n < 0:
n = int(input("We're checking to see if a number is prime or not! Enter a positive number: "))
if n % 2 == 0:
if n == 2:
print("{} is a prime number".format(n))
else:
print("{} is not a prime number".format(n))
else:
for x in range(n, 1, -1):
if n % x == 0:
count += 1
if count > 1 or n == 1:
print("{} is not a prime number".format(n))
else:
print("{} is a prime number".format(n))
I've written some code that checks to see if a number entered by the user is a prime number or not.
Sorry, but I'm not too good with pseudocode plans and all that. I hope this helps.
16235 to the nearest ten thousand would be 20,000.
Hope this helps :)
~ Davinia.
Answer:
import java.util.Scanner;
public class Lab{
public static String integerToReverseBinary(int number)
{
String binary = "";
if(number == 0){
return "0";
}
while(number > 0)
{
int remainder = number % 2;
number = number / 2;
binary += Integer.toString(remainder);
}
return binary;
}
public static String reverseString(String wordString)
{
String binaryString = "";
int length = wordString.length();
for(int i = length -1 ; i >= 0 ; i--)
{
binaryString += wordString.charAt(i);
}
return binaryString;
}
Explanation:
In the java source code, the Lab class is defined which has two methods, 'reverseString' and 'integerToReverseBinary'. The latter gets the argument from the former and reverses the content of its string value, then returns the new string value. The former gets the integer value and converts it to its binary equivalence for which are converted to strings and returned.
<h2>

</h2>
<u>The computer is the combination of hardware and software. Hardware is the physical component of a computer like motherboard, memory devices, monitor, keyboard etc., while software is the set of programs or instructions. Both hardware and software together make the computer system function.</u>
<h2><u>E</u><u>x</u><u>a</u><u>m</u><u>p</u><u>l</u><u>e</u><u>s</u><u> </u><u>:</u><u>-</u><u> </u></h2>
<h3><u>Mainframe Computer</u></h3>
- Mainframe Computer. 20 in Kickin Technology Series: MainFrame Computers. MORE POWEeeer! Movie 1. ...
- Desktop Computer. Movie: 2. Desktop Computers. ...
- Laptop or Notebook Computer. Movie: 3. Laptop Computers. ...
- Palmtop Computer or Personal Digital Assistant (PDA)
Answer:
O relational
Explanation:
If I'm wrong I'm so so sorry! But form my research it keeps saying its relational.
If I'm right please give me brainliest I really need it to level up so please help me!
If you don't know how to give brainliest there should be a crown underneath my answer you just have to click it.
Thank you and have a wonderful night,morning,afternoon/day! :D