Her work will be more organized and she will have it lined up like pros and cons
Answer:
Concept: Programming
See the solution below:
import java.util.Scanner;
import java.lang.Math;
class Lesson_24_Activity_Three {
public static void main(String[] args){
Scanner scan = new Scanner(System.in); System.out.println ("Enter a number between 0 and 100:");
int x = scan.nextInt();
if ( x <= 0 || x >= 100) { System.out.println("error");
}
else
{
for (int i = x; i <= 100; i ++)
{
System.out.print( i + " ");
}
}
}
}
The program is an illustration of the loop and functions
- Loops are used to perform repetitive operations
- Functions are named code segments that ar executed when called or evoked
<h3>The main program</h3>
The program written in Python, where comments are used to explain each action is as follows:
#This function validates the user input
def validateUserInput(firstNum, secondNum):
if firstNum >= secondNum:
return False
return True
See attachment for the complete program
Read more about loops at:
brainly.com/question/19347842
Answer:
def transfer(bank, log_in, userA, userB, amount): ''' In this function, you will try to make a transfer between two user accounts. bank is a dictionary where the key is the username and the value is the user's account balance. log_in is a dictionary where the key is the username and the value is the user's log-in status. amount is the amount to be transferred between user accounts (userA and userB). amount is always positive. What you will do: - Deduct the given amount from userA and add it to userB, which makes a transfer. - You should consider some following cases: - userA must be in the bank and his/her log-in status in log_in must be True. - userB must be in log_in, regardless of log-in status. userB can be absent in the bank. - No user can have a negative amount in their account. He/she must have a positive or zero balance. Return True if a transfer is made. For example:
Explanation:
i know this much
Answer:
The correct answer to this question is given below in the explanation section.
Explanation:
The question is about Moore's Law.
The given options in this question are:
- states that storage capabilities will triple every two years
-
is a purely abstract concept that does not clearly apply to the computing industry
-
was described by Gordon Moore in the early 2000s to predict growth in the fiber optic industry
-
relates to increases in processing power of computers and has been quite accurate since it was introduced in 1965
The correct option to this question is 4. i.e:
Moore's Law related to increases in the processing power of computers and has been quite accurate since it was introduced in 1965. This law was based on a prediction and made by American engineer Gordon Moore in 1965. And it states that the number of transistors per silicon chip doubles every year.
While the other options are not correct because:
It does not state the storage capabilities that will triple every two years, but this law state that computing power and transistors on chips become double every year. It is not a purely abstract concept but it is applied in computing and this law become more famous due to its value. This law was presented in 1965.