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
WITCHER [35]
3 years ago
7

Write a Coral program using integers userNum and x as input, and output userNum divided by x four times.

Computers and Technology
1 answer:
ss7ja [257]3 years ago
7 0

Answer:

second_int = "Enter the second integer: "

usernum = int(input("Enter the first integer: "))

x = int(input(second_int))

usernum = usernum // x

print(usernum, end= ' ')

usernum = usernum // x

print(usernum, end= ' ')

usernum = usernum // x

print(usernum, end= ' ')

usernum = usernum // x

print(usernum)

Explanation:

im good

You might be interested in
Given two 2x3 (2 rows, 3 columns) arrays of integer , x1 and x2, both already initialized , two integer variables , i and j, and
Gnesinka [82]
JAVA programming was employed...

What we have so far:
* Two 2x3 (2 rows and 3 columns) arrays. x1[i][j] (first 2x3 array) and x2[i][j] (second 2x3 array) .
* Let i = row and j = coulumn.
* A boolean vaiable, x1rules

Solution:

for(int i=0; i<2; i++)
{
   for(int j=0; j<3; j++)
   {
      x1[i][j] = num.nextInt();
   }
}// End of Array 1, x1.

for(int i=0; i<2; i++)
{
   for(int j=0; j<3; j++)
   {
      x2[i][j] = num.nextInt();
   }
}//End of Array 2, x2
This should check if all the elements in x1 is greater than x2:

x1rules = false;
if(x1[0][0]>x2[0][0] && x1[0][1]>x2[0][1] && x1[0][2]>x2[0][2] && x1[1][0]>x2[1][0] && x1[1][1]>x2[1][1] && x1[1][2]>x2[1][2])
{
   x1rules = true;
   system.out.print(x1rules);
}
else
{
   system.out.print(x1rules);
}//Conditional Statement
7 0
3 years ago
What is the output of this program?
Wewaii [24]

Answer:

6 +4 + 6 +4

Explanation:

It will start from index 0 and wherever you find the character inside the indexOf methods then you will note it down.

5 0
3 years ago
Sarah has an audio file to insert into a presentation, but she does not want the entire file to play. What should she do to have
Sonja [21]

Answer:

3. Use the Trim Audio dialog box. :3

3 0
3 years ago
Read 2 more answers
Is LTE faster than 4G?
ser-zykov [4K]
I thought there is a phone.4GLTE maybe internet
3 0
3 years ago
Certain fonts are easier to read from a distance than others. Which font should NOT be used in a presentation?Select one of the
marshall27 [118]
Helvetica, considering Times New Roman and Ariel are neat and clear to read
8 0
3 years ago
Other questions:
  • Frank has created a résumé and separated the sections using headings. How can he set the headings apart from normal text?
    13·1 answer
  • •Should other states wait to see if the high-speed rail system works well before starting their own plans for similar systems?
    15·1 answer
  • Why are there more producers then consumers?​
    6·2 answers
  • Do earthquakes ever happen in Malaysia?​
    8·1 answer
  • How did hitles rules in nazi germany exemplify totiltarian rule?
    10·1 answer
  • I am making a project i have to advertise a product i picked a futureistic car
    10·1 answer
  • Match the following pls help
    5·1 answer
  • Which diagram is NOT a good model of 3÷14?
    12·2 answers
  • Select the correct answer. Nancy has made a small web page with the new features of HTML5. She has to show this web page in scho
    9·1 answer
  • What technology does kroger’s edge technology and amazon’s just walk out technology leverage?.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!