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
Vinil7 [7]
3 years ago
11

Write a statement that reads 5 successive integers into these variables that have already been declared: x1, x2, x3, x4, x5. The

n write a statement that prints each out on its own line so that they form a right-justified column with a 5-digit width. If any of the integers are 5-digits in size, then they will start at the very beginning of their lines. For example:
Computers and Technology
1 answer:
prisoha [69]3 years ago
5 0

Answer:

Following are the statement in C++ language :

#include <iomanip> // header file  

using namespace std; // namespace

int main() // main method  

{

   int x1,x2,x3,x4,x5; // variable declaration

cout<<" Enter the 5 sucessive integer:";

cin>>x1>>x2>>x3>>x4>> x5; // taking 5 input from user

cout<<right;

// prints each  of  its own line and form a right-justified  

cout<<setw(5)<< x1 << "\n" << setw(5) << x2 << "\n" <<setw(5) << x3 << "\n" << setw(5) << x4 << "\n" << setw(5) << x5 << "\n";

return(0);    

}

Output:

Enter the 5 sucessive integer: 45

23

445

6

8

 

  45

  23

 445

   6

   8

Explanation:

Description of program is given below  

  • Declared a 5 integer value x1,x2,x3,x4,x5 respectively.
  • Read the 5 integer value from user by using cin funtion.
  • Finally Print these 5 value in its own line and form a right-justified by using setw() function on it
You might be interested in
âin order to aid a forensics investigation, a hardware or software ______________ can be utilized to capture keystrokes remotely
faltersainse [42]
(keystroke) logger. I'm hoping this is what you wanted.
5 0
4 years ago
I need help I would really appreciate it
Andreas93 [3]

Answer:

Checks if it is a multiple of 3 and 5

Explanation:

Its an if statement using modulus division to check for a remainder. It checks if a number is a multiple of 3 AND 5. (&& and & both mean and in Java).

If the remainder of both is 0 then that means the mystery number is a multiple of both 3 and 5.

3 0
3 years ago
To check whether your writing is clear , you can
Bezzdna [24]

Answer: Hi!, hope this helps. :)

Explanation: After you proofread and do a first edit of you paper, you should either read it out loud or have someone read it back to you. Hearing the paper out loud is one of the best ways to find unclear wordings. You should also do revising. You should make sure your writing meets the requirements of the writing catagory and maybe even get a rubric of the requirements.

This is the best answer I can give, I hope this answers your question! Try to make me the brainliest if you can.

3 0
4 years ago
Read 2 more answers
Items deleted from removable storage devices, such as a USB flash drive, are stored in the Recycle Bin until the Recycle Bin is
Inessa05 [86]
<span>It is true that items deleted from removable storage devices, such as a USB flash drive, are stored in the Recycle Bin until the Recycle Bin is emptied. </span><span>
When we delete a file the deleted file is removed from its original location and is stored on another location (Recycle Bin), which means that the file is not yet permanently deleted. </span>
4 0
3 years ago
5. What are looping or interactive statements? which
tankabanditka [31]
Looping statements are statements which execute one or more statements repeatedly a several number of times. Specifically when you need to execute a block of code in less time, less memory and etc, the looping concept is necessary.


Python provides many different ways for executing loops. While all the ways provide similar basic functionality, they differ in their syntax and condition checking time...

The while loop: used to execute a block of statements repeatedly until a given a condition is satisfied. (And when the condition becomes false, the line immediately after the loop in program is executed.)

The for loop: used for sequential traversal

(Includes)
- looping through a string
- Break statements
- Continue statements
- range() functions
- else statements
- nested loops


8 0
3 years ago
Other questions:
  • Edmund wants to create a website for his university. He has created all the necessary content and now wants to style and format
    11·1 answer
  • Create your own unique Java application to read all data from the file echoing the data to standard output. After all data has b
    13·1 answer
  • --------------communication involves one speaker andaudience.
    12·1 answer
  • How many times will the following loop display "Looping again!"? for(int i=0; i&lt;=20; i++) cout &lt;&lt; "Looping again!" &lt;
    14·1 answer
  • witch option in a presentation program contains the formatting and placeholders for all the items that appear on a slide?
    11·2 answers
  • 14.18 Lab 5d - Nested Looping Write a program that:
    10·1 answer
  • What are the four steps of the research process?
    13·1 answer
  • (e) Give the output of the following:
    15·2 answers
  • How do I change the keyboard light colors on Alienware 17 R5?
    8·1 answer
  • The ______ engine compares your entry against its database and returns a list of hits or sites that contain the keywords. (hint:
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!