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
goblinko [34]
3 years ago
12

Write a C++ Win32 Console Application that will use nested for loops to generate a multiplication table from 1 x 1 to 10 x 10. U

se the "tab" escape sequence ("\t") to format the table properly.
Computers and Technology
1 answer:
aleksandrvk [35]3 years ago
5 0

Answer:

#include <iostream>

using namespace std;

int main()

{

for (int outer = 1; outer <= 10; outer++)

{

 for (int inner = 1; inner <= 10; inner++)

 {

  cout << inner << "\tx\t" << outer << "\t=\t" << inner*outer << endl;

 }

 cout << endl;

}

}

Explanation:

I think when you replace the tabs by spaces, the layout is more pleasing. Couldn't figure out if you can override the default tab size of 8 characters...

You might be interested in
Write the function header (the first line of the function definition) to define a function named DisplayStats that accepts a str
Degger [83]

Answer:

void DisplayStats(string fName, int num1, double examScore);

Explanation:

Using C++ programming language.

Function headers (signatures) are allowed to be placed on top just before the main method in C++ indicating that the function's definition will be provided down below the main method, thereby allowing you to call the function within the main function.

The requirements of the the question are met. The function signature above indicates that it is void (wont return any value), The name is DisplayStats, and the parameter list are separated by single spaces as required with the correct data types.

4 0
3 years ago
HELPPP ASAPP
Setler [38]

Answer:

I think that Hardware runs the computer, whereas software performs tasks is correct.

I think that Hardware performs tasks, whereas software provides instructions is correct.

Explanation:

For the first one I put above, I think it is correct because Hardware is literally the computer, it runs everything but the software gives it instructions.

For the second one I put above, I think it is correct because Hardware does what the software tells it, hardware is what makes everything happen, the software gives it code.

For example, if you know Python:

print('Hello')

Will tell the computer to print 'Hello' in the terminal.

If you know javascript:

document.write("Hello") Not sure if this is right btw, I learned js some time ago

This will tell the computer to display Hello on the screen on your website

If you know ok nevermind...

And by software you mean the programming language or something executing the code (complier) right?

Hope this helps!!!

LOOK AT THIS!!!

My guess, might not be correct: Hardware performs tasks, whereas software provides instructions because if software is the app or program right? So then the software gives the code and algorithms and in algorithms you provide instructions and the computer runs the result, if you think about it like this: without the software the hardware can't do anything which is true, so then the software is telling the software what to do (instructions) and the hardware is performing it and showing results and responding to the software. I hope this helps

This is supposed to be a comment but it doesn't fit

6 0
3 years ago
Read 2 more answers
Assume that strikeCounter has already been declared to be a "pointer to int". Assume further that strikeCounter has been initial
Feliz [49]

Answer:

int* strikeCounter ;

int someVal;

scanf("%d", &someVal);

strikeCounter =&someVal;

*strikeCounter =someVal*4;

Explanation:

Here we took one int variable and read that value from user. we assigned that int variable address to pointer variable "strikeCounter " and we are pointing the value of strikecounter as 4 times of that integer variable value

8 0
4 years ago
Imagine your friend wants to apply
mojhsa [17]
What do ur friend wants to apply for ?
7 0
4 years ago
On the following page, write a static method print Short Words that accepts two parameters:_____.
barxatty [35]

Methods in Java are collections of program statements that are named, and executed when called/invoked

The printShortWords method in Java where comments are used to explain each line is as follows:

//This defines the static method

public static void printShortWords(String str, int maxLength){

    //This iterates through each word in the string

    for(String word: str.split(" ")){

        //The compares the length of each word to maxLength

        if(word.length()<=maxLength){

            //If the length of the current word is atleast maxLength, the word is printed

        System.out.print(word+" ");

        }

    }

}

Read more about static methods at:

brainly.com/question/19360941

7 0
2 years ago
Other questions:
  • What is the best approach to handling the expectation of privacy by employees in the event an investigation needs to be carried
    15·1 answer
  • The set of Visual Basic instructions that tells an object how to behave after an action by the user (such as clicking a button)
    6·1 answer
  • Fill in the blanks.
    6·2 answers
  • What traits make an effective leaader
    9·2 answers
  • ___ is the technology used by smart phones to send text messages.
    6·1 answer
  • To provide both encryption and integrity protection, wpa2 uses aes encryption with:
    12·1 answer
  • 9
    10·1 answer
  • The function of an audio mixer is to _____. layer audio tracks at their ideal volume combine, control, and route audio signals f
    6·1 answer
  • Which source would provide the best way to find valid information about climate change
    8·1 answer
  • TASK 1. JUMBLE ME! Direction: Arrange the jumbled letters to form a word. 1. PEREAM 2. RRENT CU 3. METREMO H 4. TORSISER 5. TANC
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!