Answer:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main(void)
{
srand(time(NULL));
int num1, num2;
int val;
while (true)
{
num1 = rand() % 100 + 1; //Random number between 1-100
num2 = rand() % 100 + 1; //Random number between 1-100
if (num1 >= num2)
{
printf("%d - %d = ", num1, num2);
scanf("%d",&val);
if (val == num1-num2)
{
printf("Correct!\n");
}
else
{
printf("Incorrect!\n");
}
}
else
{
printf("%d - %d = ", num2, num1);
scanf("%d",&val);
if (val == num2-num1)
{
printf("Correct!\n");
}
else
{
printf("Incorrect!\n");
}
}
}
}
Explanation:
First, we create two random numbers and save the values. Then we check to see which value is larger. Based on that, we change how we display the format to the user. Then we check to see if the user input number is equivalent to the subtraction problem. If it is, we display Correct! Else, we display Incorrect!
Cheers.
What does it mean to read with expression?
to increase your reading rate
to emphasize important words
to understand vocabulary words
to read aloud to others
Answer: to emphasize important words
Explanation:
To read with expression simply means to emphasize the important words. When one is reading a text, one should be able to match the feelings expressed with what the text means.
It is ones ability to show feeling when reading. To properly use expression, one has to understand the meaning of the grammar or the words that are used in the sentence.
Answer:
yup there right
Explanation:
:)))))
Be able to identify these different hazards
Answer:
In order to control workplace hazards and eliminate or reduce the risk, you should take the following steps: identify the hazard by carrying out a workplace risk assessment; determine how employees might be at risk; ... record and review hazards at least annually, or earlier if something changes
Why can a bank afford to pay an interest rate on a savings account?
A.
Because the bank is insured by the FDIC
B.
Because the Fed prints more currency when needed
C.
Because the bank puts the money into equity investments
D.
Because the bank lends that money out at a higher interest rate
Answer:
D
Explanation:
Because the bank lends that money out at a higher interest rate
KEEP IN TOUCH IF YOU NEED ANYTHING.
which type of computer networks are bigger as well as smaller than a MAN?
the answer is LAN for the first blank and WAN for the second blank.
(hope that helped)
Answer:
which type of computer networks are bigger as well as smaller than a MAN?
the answer is LAN for the first blank and WAN for the second blank.
(hope that helped)
Explanation:
which type of computer networks are bigger as well as smaller than a MAN?
the answer is LAN for the first blank and WAN for the second blank.
(hope that helped)
If you created a variable that contains letters AND numbers, what data type would that value be?
A. a float
B. a string
C. a Boolean
D. an integer
Answer:
its B: string
Explanation:
Answer:
String
Explanation:
1. To select a word in a document, you can do which of the following
Select all that apply.
(10 Points)
a. Select each character of the word
b. Double-click the word
c. On the keyboard, press Shift+Left arrow key or Shift+Right arrow key to select the word
A central message that’s communicated by a writer or speaker is called
Answer:
C: the main idea
Explanation: ..
What are the letter that go under each note?
Answer:
A, B, C, D, E, F, G pls mark me brainliest see explanation below
Explanation:
those are the letters if you search up letters for music you can find them way easier than me explaining and you will also learn faster. please mark me brainliest
Answer:
a b c d e f g
Explanation:
define computer software
Answer:
It is any program on a computer that you cannot touch or clean by yourself. EX: Windows.
Have A Nice Day!
Which one of these is NOT a type of printer
-Laser
-Electric
-Photo
-Inkjet
Need answer soon, thanks!
Answer:
electric
Explanation:
eletric is not a print ouo
The electric should not be the type of printer.
The information regarding the printer is as follows:
A printer is a machine that should be connected to the computer for making the copies on paper that should be held by the computer.It could be laser, photo, and the inkjet, etc.Here the digital data should be transformed into the printed media.Therefore we can conclude that the electric should not be the type of printer.
Learn more about the printer here: brainly.com/question/4455685
Please help me with this
Answer:
Explanation:
what?
A brown outline around a frame is an indication of which tool?
Answer:
Direct Selection Tool
Explanation:
The Direct Selection tool is a tool that allows the selection of a single object or a single path such that an object already grouped with other objects can be directly and moved to a desired location
The Direct Selection tool can be used to select a container's content including graphics which are imported and specific points or paths of a figure or text to allow for drawing, text editing or to edit paths.
The internet's data gathways rely on what kind of hardware devies to route data to its destination?
Answer:
router
Explanation:
PLEASE HELP ME ASAP
In a spreadsheet, cells B2 through B10 store the cost price of items and cells C2 through C10 store the selling price. If the selling price exceeds the cost price, you earn a profit. Otherwise, you suffer a loss. Which formula will you use to determine whether you earn a profit? A. =IF(C2>B2;"Profit";"Loss") B. =IF(C2 B2;"Loss";"Profit") D. =IF(C2>B2;"Profit";"Profit")
Answer:
Im pretty sure the answer is a
Explanation:
Which is the most effective method of studying and memorizing many facts? using concept maps taking sequential notes using flash cards taking conceptual notes
Answer:
using flashcards
Explanation:
Many educationists agree that the use of flashcards can actually aid one's ability to study and memorize many facts.
What this method entails is that the individual writes a short note or fact on one side of the card. Next, a question prompting the fact is asked on the other side.
For example, a student who wants to memorize the names of the capital cities of countries around the world may write the names on one side of the flashcard, and then the question: What is the capital city of....? By using such a method they'll effectively memorize them.
Answer:
using flashcards
Explanation:
i took the quiz
What will you see on the next line?
>>>int(12.8)
___
Answer:
12
Explanation:
When you use the int() function on a float, it only cuts off everything past the decimal. Literally all it does. Also, the int() function doesn't round the number. Thus, proving the answer is 12.
hope i helped :D
Answer: 12
Explanation: got it right on edgen
in which step of web design is storyboarding helpful?
a
Coding
b
Editing
c
Planning
d
Publishing
Answer:
the soup become too salty through the process of osmosis system specific message and you can get my points
Explanation:
his email address is going to change your notification delivery settings for Corona CA and you know that
PLZ HELP!!! I'm a beginner in coding!
BTW, I'm a beginner in coding, so you don't have to get all fancy and stuff lol. Plz keep it "beginner's level" haha thx
1. Randomly choose rock, paper, or scissors for the computer
2. Ask the user to choose rock, paper, or scissors
3. Compare the computer’s choice to the player’s choice
4. Announce whether the computer or the human won
BUT!!! I already did 1, 2, and 3. I just need help with 4, how do I announce whether the computer or the human won? Am I suppose to use an if, elif, or else statement? Or a loop maybe? Please help! Thank you! Also, plz keep it simple, I just started learning coding
import random
rock,paper,scissors = 1,2,3
choice = int(input("Please choose 1 2 or 3: "))
computer = random.randint(1,3)
player_won = False
draw = False
if choice == computer:
draw = True
elif choice == 1 and computer == 3:
player_won = True
elif choice == 2 and computer == 1:
player_won = True
elif choice == 3 and computer == 2:
player_won = True
if player_won:
print("You won!")
elif not player_won and not draw:
print("The computer won!")
else:
print("It's a draw!")
First, I recommend importing at the beginning of your program. Also, you can combine all your same datatype variables in one line. You also need to cast your user choice to an integer so you can compare it with the computer's choice. I wrote the if, elif, and else statements using a boolean variable. I simply wrote all the possibilities that would result in the player winning and this would result in the player_won variable being true. If this is the case, we print to the console, "You won!"
How would you make it so that you upload a ZIP file and it displays the images in number order from top to bottom?
25 points and a Brainliest if I can do so.
Answer: Create a Zipped Folder using Windows:
Choose the folder you'd like to zip.
Right-click the folder, point to Send to, and then click Compressed folder(zipped).
A new zipped folder will appear in your Desktop, this Zip File can now be used for your HTML drop.
HOW TO UPLOAD:If you're on a PC using Windows, right-click the folder and in the menu that appears you should select Send to and then under that menu select Compressed (zipped) folder. You then should see a zip-file with the same name as the folder you created appear. You should upload this zip-file on the submission page.
Explanation:\
Using the drop-down menu, identify characteristics of IDEs.
IDE refers to
for writing computer programs.
IDEs are a coordinated
IDEs provide developers with
Answer:
An integrated development environment
Computer software program-writing package
Interactive programming tools
Explanation:just took it on edge
Answer:
An integrated development environment
Computer software program-writing package
Interactive programming tools
Explanation:
if you have 60fps on your laptop tell me one way you can go to 240fps
Answer: NO
Explanation:
A 60hz monitor refreshes the screen 60 times per second. Therefore, a 60hz monitor is only capable of outputting 60fps
Answer:
A higher frame rate is better. However, when you're actually playing a game, the display's refresh rate does effectively limit the frame rate – if you have an 80hz display and your computer is capable of outputting 120 FPS, your screen will still only be able to show 80 different images per second.
60hz monitor is only capable of outputting 60fps
Explanation:
144hz refers to the display's refresh rate - aka how many times it can draw a new image within the space is a second. Framerate refers to the number of complete images that your computer can generate within a second. For the best results you want the two to match, or at the very least for one to be a multiple of the other. Because when they're not, you get this:
Samantha wants to get a job where she would look for errors in computer code that other people have written. What search term should be entered on a job listing website to find that kind of job?
editor
database manager
debuger
program advisor
Answer:
debuger
Explanation:
Answer:
C debuger
Explanation:
do you ever just . . . . . . . . . . . . .
Answer:
sure? *confusion*
Explanation:
Answer:
Ok than taste in art is immaculent amazing wonderful
Why is it Important to understand electricity?? Please answer fast the assignments already missing!!
Answer:
Electricity not only plays a big part in our daily lives at home, but it is extremely important for all the things that go on in the world around us in our modern life, such as industry that we depend on, communication as in form of radio, television, e-mail, the Internet, etc.
Explanation:
If you want the data associated with a variable called “game” to appear in the interpreter with a space after it, which of the following should you use?
game,
game.
game+
game_
Answer:
game+
Explanation:
The analysis given in the question is an illustration of concatenation.
Assume that variable game is a strong variable and we want a blank space appended to the data in this variable, we make use of the following syntax.
game + " "
The plus (+) sign between game and the blank space " " implies that space should appear immediately after the data in game.
Hence, option C answers the question.
Answer:
C. game+
Explanation:
What is output? Select all that apply. c = 0 while (c < 10): c = c + 5 print (c) 0 1 2 3 4 5 6 7 8 9 10
Answer:
5 10
Explanation:
that's the answer : 5 10
I NEED A BIG BRAIN BOYO TO HELP ME
My friend Juan is a Ike main in smash and I’m a byleth main how and ever since 5th grade I’ve been trying to beat him at smash but I never do... how do I beat him
Where does append add the new elements?
To the end of an array.
To the middle of an array.
To the beginning of an array.
In alphabetical/numerical order.
Answer:
"Option 1: To the end of an array." is the correct answer.
Explanation:
The word "Append" means adding to the end of a document.
Appending means whatever new content is added, it is added at the end of the document or data structure.
Similarly,
Appending an array means adding new elements to the end of the array.
Hence,
"Option 1: To the end of an array." is the correct answer.
Mingji is working to transfer photos from her digital camera to her computer. While
reading her camera's user manual, she sees that she doesn't need to use a USB cord to
make the transfer. What type of digital camera does Minji have?
Answer:
digital camera with bluetooth
Explanation:
Bluetooth is defined as a wireless technology with the help of which data and information such any images, documents, files, etc can be send to other devices equipped with bluetooth technology over a short distance with the use of UHF radio waves.
Bluetooth technology help in exchanging data with out the use of a USB cable.
In the context, Minji is having a digital camera with bluetooth technology as she can transfer her photos from the camera to the computer with out the help of any USB chord.
what animal is perry the platypus
Answer: Agent P or simply Perry
Explanation:
Answer:
A Platypus. Its in the name XDDD
Explanation: