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
Eddi Din [679]
3 years ago
9

To move one screen to the left press ____.

Computers and Technology
1 answer:
Nookie1986 [14]3 years ago
7 0
To move a window to the left side of the screen you would press the "Windows key" + the left arrow key at the same time.
You might be interested in
2.36 LAB: Warm up: Variables, input, and casting (1) Prompt the user to input an integer, a double, a character, and a string, s
Westkost [7]

Answer:

The entire program is:

#include <iostream>

using namespace std;

  int main() {          

  int userInt;

  double userDouble;

  char userChar;

  string userString;  

  cout<<"Enter integer:"<<endl;

  cin>>userInt;  

  cout<<"Enter double:"<<endl;

  cin>>userDouble;  

  cout<<"Enter character:"<<endl;

  cin>>userChar;  

  cout<<"Enter string:"<<endl;

  cin>>userString;    

 cout<<userInt<<" "<<userDouble<<" "<<userChar<<" "<<userString<<endl;

 cout<<endl;  

   cout<<userInt<<" "<<userDouble<<" "<<userChar<<" "<<userString<<endl<<userString<<" "<<userChar<<" "<<userDouble<<" "<<userInt<<endl;  

cout<<endl;

cout<<userInt<<" "<<userDouble<<" "<<userChar<<" "<<userString<<endl<<userString<<" "<<userChar<<" "<<userDouble<<" "<<userInt<<endl<<userDouble<<" cast to an integer is "<<(int)userDouble;  

  return 0;  }

The program in C language:

#include <stdio.h>  

int main() {

  int userInt;  

  double userDouble;  

  char userChar;  

  char userString[50];

  printf("Enter integer: \n");  

  scanf("%d", &userInt);

  printf("Enter double: \n");  

  scanf("%lf", &userDouble);

  printf("Enter character: \n");  

  scanf(" %c", &userChar);  

  printf("Enter string: \n");  

  scanf("%s", userString);  

  printf("%d %lf %c %s\n", userInt, userDouble, userChar, userString);

  printf("\n");

  printf("%d %lf %c %s\n%s %c %lf %d \n", userInt, userDouble, userChar, userString, userString, userChar, userDouble, userInt);

  printf("\n");

  printf("%d %lf %c %s\n%s %c %lf %d\n%lf cast to an integer is %d \n", userInt, userDouble, userChar, userString, userString, userChar, userDouble, userInt, userDouble, (int)userDouble);  }

Explanation:

Lets do the program step by step:

1)  Prompt the user to input an integer, a double, a character, and a string, storing each into separate variables. Then, output those four values on a single line separated by a space:

Solution:

The program is:

#include <iostream>  //to use input output functions

using namespace std;  //to identify objects cin cout

  int main() {  //start of main method

  //declare an integer, a double, a character and a string variable  

  int userInt;  //int type variable to store integer

  double userDouble;  //double type variable to store double precision floating point number

  char userChar;  //char type variable to store character

  string userString;  //string type variable to store a string

  cout<<"Enter integer:"<<endl;  //prompts user to enter an integer

  cin>>userInt;  //reads the input integer and store it to userInt variable

  cout<<"Enter double:"<<endl;  //prompts user to enter a double type value

  cin>>userDouble;  //reads the input double value and store it to userDouble variable

  cout<<"Enter character:"<<endl;  //prompts user to enter a character

 cin>>userChar; //reads the input character and store it to userChar variable

  cout<<"Enter string:"<<endl;  //prompts user to enter a string

  cin>>userString; //reads the input string and store it to userString variable

   

cout<<userInt<<" "<<userDouble<<" "<<userChar<<" "<<userString<<endl; //output the values on a single line separated by space

So the output of the entire program is:

Enter integer:                                                                                                                                99                                                                                                                                            Enter double:                                                                                                                                 3.77                                                                                                                                          Enter character:                                                                                                                              z                                                                                                                                             Enter string:                                                                                                                                 Howdy                                                                                                                                         99 3.77 z Howdy

(2) Extend to also output in reverse.

Now the above code remains the same but add this output (cout) statement at the end:

  cout<<userString<<" "<<userChar<<" "<<userDouble<<" "<<userInt;

Now the output with the same values given as input is:

Enter integer:                                                                                                                                  99                                                                                                                                              Enter double:                                                                                                                                   3.77                                                                                                                                            Enter character:                                                                                                                                z                                                                                                                                               Enter string:                                                                                                                                   Howdy  

99 3.77 z Howdy                                                                                                                                     Howdy z 3.77 99

(3) Extend to cast the double to an integer, and output that integer.

The rest of the code remains the same but add the following output (cout) statement in the end:

cout<<userDouble<<" cast to an integer is "<<(int)userDouble;

Now the output with the same values given as input is:

Enter integer:                                                                                                                                  99                                                                                                                                              Enter double:                                                                                                                                   3.77                                                                                                                                            Enter character:                                                                                                                                z                                                                                                                                               Enter string:                                                                                                                                   Howdy                                                                                                                                           99 3.77 z Howdy                                                                                                                                 Howdy z 3.77 99                                                                                                                                 3.77 cast to an integer is 3  

3 0
3 years ago
A group consists of 10 kids and 2 adults. On a hike, they must form a line with an adult at the front and an adult at the back.
blsea [12.9K]

Answer:

b. 2.9!

Explanation:

There are is a mistake in the question.

Suppose the group consist of 10 kids and 2 adults, the number of ways in which they can form the line is:

= 2! 10!

= 2× 1× 10!

= 2.10!

But since that is not in the given option.

Let assume that the group consists of 9 kids and 2 adults, the number of ways in which they can form the line is:

No of ways the kids can be permutated =  9 ways

No of ways the adult can be permutated  = two ways.

Thus; the number of ways in which they can form the line = 2! 9!

= 2 × 1× 9!

= 2.9!

6 0
3 years ago
Write a c program that reprints input so that no line is longer than 50 characters. Specifically, for lines less than or equal t
Alex73 [517]

Using the knowledge in computational language in C++ it is possible to write a code that reprints prints input so that no line is longer than 50 characters.

<h3>Writting the code:</h3>

<em>#include<stdio.h></em>

<em />

<em>int main(int argc, char** argv){</em>

<em>    //creating pointer to read a file</em>

<em>    FILE * fp;</em>

<em>    char * line = NULL;</em>

<em>    size_t len = 0;</em>

<em>    ssize_t read;</em>

<em>    int i=0;</em>

<em>    //opening a file</em>

<em>    fp = fopen(argv[1], "r");</em>

<em>    //handling the error condition</em>

<em>    if (fp == NULL){</em>

<em>        printf("File not found..!!");</em>

<em>        return 0;</em>

<em>    }</em>

<em>    int moreThan50 =0;</em>

<em>    //reading a file line by line</em>

<em>    while ((read = getline(&line, &len, fp)) != -1) {</em>

<em>        i = 0;</em>

<em>        if(read >= 50){</em>

<em>            moreThan50++;</em>

<em>        }</em>

<em>        while(i < read){</em>

<em>            if(line[i]!='\n'){</em>

<em>                if(i%50 == 0){</em>

<em>                    printf("\n%c",line[i]);</em>

<em>                }else{</em>

<em>                    printf("%c",line[i]);</em>

<em>                }</em>

<em>            }</em>

<em>            i++;</em>

<em>        }</em>

<em>    }</em>

<em>    printf("\nTotal lines over 50 chars: %d\n",moreThan50);</em>

<em>    printf("Offending Lines: ");</em>

<em>    for(i=1;i<=moreThan50;i++)</em>

<em>        printf("%d, ",i);</em>

<em>    fclose(fp);</em>

<em>    return 0;</em>

<em>}</em>

See more about C++ at brainly.com/question/19705654

#SPJ1

4 0
1 year ago
Expain the application areas of ICT in education sector and E-commerce​
miss Akunina [59]

Explanation:

<em>N</em><em>o</em><em>w</em><em>a</em><em>d</em><em>a</em><em>y</em><em>s</em><em> </em><em>a</em><em>l</em><em>m</em><em>o</em><em>s</em><em>t</em><em> </em><em>a</em><em>l</em><em>l</em><em> </em><em>t</em><em>h</em><em>e</em><em> </em><em>s</em><em>c</em><em>h</em><em>o</em><em>o</em><em>l</em><em> </em><em>a</em><em>n</em><em>d</em><em> </em><em>c</em><em>o</em><em>l</em><em>l</em><em>e</em><em>g</em><em>e</em><em> </em><em>u</em><em>s</em><em>e</em><em> </em><em>c</em><em>o</em><em>m</em><em>p</em><em>u</em><em>t</em><em>e</em><em>r</em><em>s</em><em> </em><em>i</em><em>n</em><em> </em><em>c</em><em>l</em><em>a</em><em>s</em><em>s</em><em>r</em><em>o</em><em>o</em><em>m</em><em>s</em><em> </em><em>a</em><em>n</em><em>d</em><em> </em><em>l</em><em>a</em><em>b</em><em>s</em><em> </em><em>t</em><em>o</em><em> </em><em>t</em><em>e</em><em>a</em><em>c</em><em>h</em><em> </em><em>s</em><em>t</em><em>u</em><em>d</em><em>e</em><em>n</em><em>t</em><em>s</em><em>.</em><em>A</em><em> </em><em>t</em><em>e</em><em>a</em><em>c</em><em>h</em><em>e</em><em>r</em><em> </em><em>c</em><em>a</em><em>n</em><em> </em><em>t</em><em>e</em><em>a</em><em>c</em><em>h</em><em> </em><em>e</em><em>f</em><em>f</em><em>e</em><em>c</em><em>t</em><em>i</em><em>v</em><em>e</em><em>l</em><em>y</em><em> </em><em>u</em><em>s</em><em>i</em><em>n</em><em>g</em><em> </em><em>c</em><em>o</em><em>m</em><em>p</em><em>u</em><em>t</em><em>e</em><em>r</em><em>-</em><em>b</em><em>a</em><em>s</em><em>e</em><em>d</em><em> </em><em>p</em><em>r</em><em>e</em><em>s</em><em>e</em><em>n</em><em>t</em><em>a</em><em>t</em><em>i</em><em>o</em><em>n</em><em>s</em><em>.</em><em>S</em><em>t</em><em>u</em><em>d</em><em>e</em><em>n</em><em>t</em><em>s</em><em> </em><em>c</em><em>a</em><em>n</em><em> </em><em>s</em><em>t</em><em>u</em><em>d</em><em>y</em><em> </em><em>d</em><em>i</em><em>f</em><em>f</em><em>e</em><em>r</em><em>e</em><em>n</em><em>t</em><em> </em><em>s</em><em>u</em><em>b</em><em>j</em><em>e</em><em>c</em><em>t</em><em>s</em><em> </em><em>a</em><em>n</em><em>d</em><em> </em><em>c</em><em>o</em><em>m</em><em>p</em><em>l</em><em>e</em><em>t</em><em>e</em><em> </em><em>t</em><em>h</em><em>e</em><em>i</em><em>r</em><em> </em><em>a</em><em>s</em><em>s</em><em>i</em><em>g</em><em>n</em><em>m</em><em>e</em><em>n</em><em>t</em><em> </em><em>b</em><em>y</em><em> </em><em>u</em><em>s</em><em>i</em><em>n</em><em>g</em><em> </em><em>d</em><em>i</em><em>f</em><em>f</em><em>e</em><em>r</em><em>e</em><em>n</em><em>t</em><em> </em><em>s</em><em>o</em><em>f</em><em>t</em><em>w</em><em>a</em><em>r</em><em>e</em><em> </em><em>i</em><em>n</em><em> </em><em>c</em><em>o</em><em>m</em><em>p</em><em>u</em><em>t</em><em>e</em><em>r</em><em>.</em><em>T</em><em>h</em><em>e</em><em> </em><em>C</em><em>o</em><em>m</em><em>p</em><em>u</em><em>t</em><em>e</em><em>r</em><em> </em><em>B</em><em>a</em><em>s</em><em>e</em><em>d</em><em> </em><em>T</em><em>r</em><em>a</em><em>i</em><em>n</em><em>i</em><em>n</em><em>g</em><em>(</em><em>C</em><em>B</em><em>T</em><em>)</em><em> </em><em>a</em><em>n</em><em>d</em><em> </em><em>W</em><em>e</em><em>b</em><em> </em><em>B</em><em>a</em><em>s</em><em>e</em><em>d</em><em> </em><em>T</em><em>r</em><em>a</em><em>i</em><em>n</em><em>i</em><em>n</em><em>g</em><em>(</em><em>W</em><em>B</em><em>T</em><em>)</em><em> </em><em>a</em><em>r</em><em>e</em><em> </em><em>a</em><em>i</em><em>d</em><em> </em><em>t</em><em>o</em><em> </em><em>t</em><em>e</em><em>a</em><em>c</em><em>h</em><em> </em><em>t</em><em>h</em><em>e</em><em> </em><em>s</em><em>t</em><em>u</em><em>d</em><em>e</em><em>n</em><em>t</em><em> </em><em>i</em><em>n</em><em> </em><em>t</em><em>h</em><em>e</em><em> </em><em>c</em><em>l</em><em>a</em><em>s</em><em>s</em><em>r</em><em>o</em><em>o</em><em>m</em><em>.</em>

<em>E</em><em>-</em><em>c</em><em>o</em><em>m</em><em>m</em><em>e</em><em>r</em><em>c</em><em>e</em><em> </em><em>i</em><em>s</em><em> </em><em>a</em><em> </em><em>f</em><em>i</em><em>n</em><em>a</em><em>n</em><em>c</em><em>i</em><em>a</em><em>l</em><em> </em><em>b</em><em>u</em><em>s</em><em>i</em><em>n</em><em>e</em><em>s</em><em>s</em><em> </em><em>t</em><em>r</em><em>a</em><em>n</em><em>s</em><em>a</em><em>c</em><em>t</em><em>i</em><em>o</em><em>n</em><em> </em><em>c</em><em>o</em><em>n</em><em>d</em><em>u</em><em>c</em><em>t</em><em>e</em><em>d</em><em> </em><em>e</em><em>l</em><em>e</em><em>c</em><em>t</em><em>r</em><em>o</em><em>n</em><em>i</em><em>c</em><em>a</em><em>l</em><em>l</em><em>y</em><em> </em><em>b</em><em>e</em><em>t</em><em>w</em><em>e</em><em>e</em><em>n</em><em> </em><em>b</em><em>u</em><em>s</em><em>i</em><em>n</em><em>e</em><em>s</em><em>s</em><em> </em><em>p</em><em>a</em><em>r</em><em>t</em><em>n</em><em>e</em><em>r</em><em>s</em><em> </em><em>o</em><em>v</em><em>e</em><em>r</em><em> </em><em>t</em><em>h</em><em>e</em><em> </em><em>i</em><em>n</em><em>t</em><em>e</em><em>r</em><em>n</em><em>e</em><em>t</em><em>.</em><em>B</em><em>u</em><em>s</em><em>i</em><em>n</em><em>e</em><em>s</em><em>s</em><em> </em><em>t</em><em>r</em><em>a</em><em>n</em><em>s</em><em>a</em><em>c</em><em>t</em><em>i</em><em>o</em><em>n</em><em>s</em><em> </em><em>c</em><em>a</em><em>n</em><em> </em><em>o</em><em>c</em><em>c</em><em>u</em><em>r</em><em> </em><em>v</em><em>e</em><em>r</em><em>y</em><em> </em><em>q</em><em>u</em><em>i</em><em>c</em><em>k</em><em>l</em><em>y</em><em> </em><em>a</em><em>n</em><em>d</em><em> </em><em>g</em><em>l</em><em>o</em><em>b</em><em>a</em><em>l</em><em>l</em><em>y</em><em>.</em><em>T</em><em>h</em><em>e</em><em> </em><em>p</em><em>e</em><em>o</em><em>p</em><em>l</em><em>e</em><em> </em><em>c</em><em>a</em><em>n</em><em> </em><em>b</em><em>u</em><em>y</em><em>,</em><em>s</em><em>e</em><em>l</em><em>l</em><em> </em><em>a</em><em>n</em><em>d</em><em> </em><em>e</em><em>x</em><em>c</em><em>h</em><em>a</em><em>n</em><em>g</em><em>e</em><em> </em><em>t</em><em>h</em><em>e</em><em> </em><em>p</em><em>r</em><em>o</em><em>d</em><em>u</em><em>c</em><em>t</em><em>s</em><em> </em><em>o</em><em>r</em><em> </em><em>s</em><em>e</em><em>r</em><em>v</em><em>i</em><em>c</em><em>e</em><em>s</em><em> </em><em>u</em><em>s</em><em>i</em><em>n</em><em>g</em><em> </em><em>i</em><em>n</em><em>t</em><em>e</em><em>r</em><em>n</em><em>e</em><em>t</em><em>.</em><em>T</em><em>o</em><em>d</em><em>a</em><em>y</em><em>s</em><em> </em><em>m</em><em>a</em><em>n</em><em>y</em><em> </em><em>c</em><em>o</em><em>m</em><em>p</em><em>u</em><em>t</em><em>e</em><em>r</em><em> </em><em>c</em><em>a</em><em>n</em><em> </em><em>a</em><em>l</em><em>s</em><em>o</em><em> </em><em>a</em><em>c</em><em>c</em><em>e</em><em>s</em><em>s</em><em> </em><em>t</em><em>h</em><em>e</em><em> </em><em>I</em><em>n</em><em>t</em><em>e</em><em>r</em><em>n</em><em>e</em><em>t</em><em> </em><em>t</em><em>h</em><em>r</em><em>o</em><em>u</em><em>g</em><em>h</em><em> </em><em>w</em><em>i</em><em>r</em><em>e</em><em>l</em><em>e</em><em>s</em><em>s</em><em> </em><em>t</em><em>e</em><em>c</em><em>h</em><em>n</em><em>o</em><em>l</em><em>o</em><em>g</em><em>i</em><em>e</em><em>s</em><em>.</em>

8 0
2 years ago
Servlet session and JSP session have differentabilities.<br>? True<br><br>? False
xxTIMURxx [149]
Your answer is true your welcome!
5 0
3 years ago
Other questions:
  • An operating system cannot run from an external drive. true or false
    15·1 answer
  • * Declare a variablecalled "car" of type "Car", and initialise its value to a new instance of the "Car"class.
    9·1 answer
  • Gina's teacher has sent her a Word document that contains the names of all the students who are participating in the
    11·2 answers
  • 2) Complete the get_num_of_characters() function, which returns the number of characters in the user's string. We encourage you
    11·1 answer
  • For the following array x [10] = { 45, 20, 50, 30, 80, 10, 60, 70, 40, 90} show the contents of x after the function call split
    6·1 answer
  • Which of the following is not a main function within end user support?
    13·1 answer
  • Which route of entry could chemicals use to enter through the body’s airways?
    8·1 answer
  • Assuming that we only support BEQ and ADD instructions, discuss how changes in the given latency of this resource affect the cyc
    7·1 answer
  • If 2 people use my code D9R2M on fetch reward and scan receipts I will give brainliest ​
    13·2 answers
  • Website managers use____ every day.
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!