Answer:
TB,GB,MB,KB,B
Explanation:
Answer:
an electronic device for storing and processing data, typically in binary form, according to instructions given to it in a variable program
Explanation:
Answer:
a divice to play games on, learn on, and other helpful things
Explanation:
User enters:
lemur parrot cat rock
Outputs:
You have a lemur with a total of 1 pet(s)
You have a parrot with a total of 2 pet(s)
You have a cat with a total of 3 pet(s)
Following are the python program to use the loop to count the number of pets until the user enters the "rock":
c = 0#defining a variable c that initilzes with 0
p = input()#defining a variable p that input value
while p != 'rock':#defining a loop that check p value not equal to rock
c += 1#using c variable for counts total number of pets
print('You have a %s with a total of %d pet(s)' %(p,c))#print total number of pet
p = input() #input value
Output:
Please find the attached file.
Program Explanation:
Find out more about the loop here:
B. initiates the transfer of money
C. transfers funds between the sellers bank and the buyers bank
D. all of the above
Answer:
validates and verifies the seller's payment information- A.
Answer:
Hi Samantha, i have a work with you.
B) ring
C) bus
D) all of the above
Answer:
ring
Explanation:
Answer:
Following are the program in c++ language
#include<iostream> // header file
using namespace std; // namespace
int main()
{
int n1,i; // variable declaration
cout<<"Enter Number: ";
cin>>n1; // input number
for(i=n1;i>1;i=i-2) // check the condition
{
n1 = n1-2; // decrement the value of number by -2
}
if(n1==0) // check if it is 0
cout<<"number is EVEN"<<"\n"; // print even
else
cout<<"number is ODD"<<"\n"; // print odd
return 0;
}
Output:
Enter Number: 45
number is ODD
Again run the program
Enter Number:10
number is EVEN
Explanation:
In this program, we input the number by a user in variable n1. After that, we iterate the for loop and initialize the value of a variable" i" in for loop and check the condition.
In each iteration, the variable n1 is decrement by 2 and store it n1.
Finally, check if n1==0 then it print number is EVEN otherwise it print number is ODD.