1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Sophie [7]
3 years ago
14

2.5 code practice I need answers please

Computers and Technology
1 answer:
Leni [432]3 years ago
7 0

Answer:

import random

a = random.randint(1,10)

b = random.randint(1,10)

answer = a * b

print (str(a) + " X " + str(b) + " = " + str(answer))

Explanation:

Happy to help you mate

You might be interested in
Any single girls 12-14 im a 13 yo boy idc if this aint a dating site
-BARSIC- [3]

Answer:

THIS AN'T DATING APP

Explanation:

THIS IS THE ONE THE ONLY

BRAINY

5 0
3 years ago
Read 2 more answers
What is used to switch to Outline View?
Yuri [45]
<span>What is used to switch to Outline View?

the Insert tab
the status bar
the Mailings tab
the Page Layout bar</span>

Actually, it is found in the VIEW TAB which is in the STATUS BAR. Coincidentally, all of those tabs can be found in the status bar.

7 0
3 years ago
Read 2 more answers
Page _____ refers to whether a page is laid out vertically or horizontally.
Nostrana [21]
Page orientation is the answer and can you please help me with my java questions
8 0
3 years ago
Write a program that asks the user to enter a number within the range of 1 through 10. Use a switch statement to display the Rom
hjlf

Answer:

Below are the program for the above question:

Explanation:

#include <stdio.h>//header file.

int main()//main function.

{

   int value; //variable declaration.

   printf("Enter a number to find its roman value: ");//render a message for the user.

   scanf("%d",&value); //take a value from the user.

   switch(value)//switch case starts

   {

     case 1:

     printf("I");

     break;

     case 2:

     printf("II");

     break;

     case 3:

     printf("III");

     break;

     case 4:

     printf("IV");

     break;

     case 5:

     printf("V");

     break;

     case 6:

     printf("VI");

     break;

     case 7:

     printf("VII");

     break;

     case 8:

     printf("VIII");

     break;

     case 9:

     printf("IX");

     break;

     case 10:

     printf("X");

     break;

   }//switch case ends.

   return 0;//return statement.

}

Output:

  • If the user inputs as 4, then the output is "IV".

Code Explantion :

  • The above code is in c language, in which the scanf function is used to take the inputs from the user.
  • Then the value match from the switch case and display the suitable result.
  • And the user get the roman value from the user.

6 0
3 years ago
Why do computers have both main memory and secondary storage?
VladimirAG [237]
Main memory is RAM (random access memory) that is so programs can save data. Without ram, whenever you would write something in a text document it would delete it. Secondary storage is so you can save the file and go back to it.
3 0
3 years ago
Other questions:
  • Your assignment is to write an assembly language program which read a string and print it in uppercase. This program asks the us
    15·1 answer
  • 16.
    7·1 answer
  • How does the binary numbering system differ from the hexadecimal numbering system?
    14·2 answers
  • What is WEB 1.0 to WEB3.0
    11·1 answer
  • When disabling inherited permissions on an object, what happens if you select Remove all inherited permissions from this object?
    11·1 answer
  • A technician has been notified of a problem on the network. After investigation, the technician determines that a specific inter
    7·1 answer
  • What is thought to have caused the extinction of the dinosaurs?
    13·1 answer
  • What software tool can you use to see the applications that are currently running?
    5·2 answers
  • What's the difference between a robot and a machine?
    7·1 answer
  • There are two main types of hard drive available to a computer. State what they are and describe their use.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!